@ThreadSafe public class ControllerOS7 extends java.lang.Object implements MController
Modifier and Type | Class and Description |
---|---|
static class |
ControllerOS7.PrintFiles |
Constructor and Description |
---|
ControllerOS7() |
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) throws java.io.IOException
MController
getInventoryTop
in interface MController
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSjava.io.IOException
public 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