@ThreadSafe public class ControllerOS extends Object implements MController
| Constructor and Description |
|---|
ControllerOS() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterator<MFile> |
getInventoryAll(MCollection mc,
boolean recheck)
Returns all leaves in collection, resursing into subdirectories.
|
Iterator<MFile> |
getInventoryTop(MCollection mc,
boolean recheck)
Returns all leaves in top collection, not recursing into subdirectories.
|
Iterator<MFile> |
getSubdirs(MCollection mc,
boolean recheck)
Returns all subdirectories in top collection.
|
public Iterator<MFile> getInventoryAll(MCollection mc, boolean recheck)
MControllergetInventoryAll in interface MControllermc - defines the collection to scanrecheck - if false, may use cached results. otherwise must sync with File OSpublic Iterator<MFile> getInventoryTop(MCollection mc, boolean recheck)
MControllergetInventoryTop in interface MControllermc - defines the collection to scanrecheck - if false, may use cached results. otherwise must sync with File OSpublic Iterator<MFile> getSubdirs(MCollection mc, boolean recheck)
MControllergetSubdirs in interface MControllermc - defines the collection to scanrecheck - if false, may use cached results. otherwise must sync with File OSpublic void close()
close in interface MControllerCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.