@ThreadSafe public class ControllerOS extends java.lang.Object implements MController
Constructor and Description |
---|
ControllerOS() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.Iterator<MFile> |
getInventoryAll(CollectionConfig mc,
boolean recheck)
Returns all leaves in collection, recursing into subdirectories.
|
java.util.Iterator<MFile> |
getInventoryTop(CollectionConfig mc,
boolean recheck)
Returns all leaves in top collection, not recursing into subdirectories.
|
java.util.Iterator<MFile> |
getSubdirs(CollectionConfig mc,
boolean recheck)
Returns all subdirectories in top collection.
|
public java.util.Iterator<MFile> getInventoryAll(CollectionConfig mc, boolean recheck)
MController
getInventoryAll
in interface MController
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSpublic java.util.Iterator<MFile> getInventoryTop(CollectionConfig mc, boolean recheck)
MController
getInventoryTop
in interface MController
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSpublic java.util.Iterator<MFile> getSubdirs(CollectionConfig mc, boolean recheck)
MController
getSubdirs
in interface MController
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSpublic void close()
close
in interface MController