public interface MController
Modifier and Type | Method and Description |
---|---|
void |
close() |
Iterator<MFile> |
getInventoryAll(CollectionConfig mc,
boolean recheck)
Returns all leaves in collection, recursing into subdirectories.
|
Iterator<MFile> |
getInventoryTop(CollectionConfig mc,
boolean recheck)
Returns all leaves in top collection, not recursing into subdirectories.
|
Iterator<MFile> |
getSubdirs(CollectionConfig mc,
boolean recheck)
Returns all subdirectories in top collection.
|
Iterator<MFile> getInventoryAll(CollectionConfig mc, boolean recheck)
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSIterator<MFile> getInventoryTop(CollectionConfig mc, boolean recheck) throws IOException
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSIOException
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()
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.