public interface MController
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.
|
java.util.Iterator<MFile> getInventoryAll(CollectionConfig mc, boolean recheck)
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSjava.util.Iterator<MFile> getInventoryTop(CollectionConfig mc, boolean recheck) throws java.io.IOException
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSjava.io.IOException
java.util.Iterator<MFile> getSubdirs(CollectionConfig mc, boolean recheck)
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSvoid close()