public class ControllerZip extends ControllerOS implements MController
Modifier and Type | Class and Description |
---|---|
protected static class |
ControllerZip.FilteredIterator |
protected static class |
ControllerZip.MFileIterator |
protected static class |
ControllerZip.MFileIteratorLeaves |
static class |
ControllerZip.Provider |
Constructor and Description |
---|
ControllerZip() |
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
getInventoryAll
in class ControllerOS
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
getInventoryTop
in class ControllerOS
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
getSubdirs
in class ControllerOS
mc
- defines the collection to scanrecheck
- if false, may use cached results. otherwise must sync with File OSpublic void close()
close
in interface MController
close
in class ControllerOS