@ThreadSafe public final class FsFilteringManager extends FsDecoratingManager<FsManager>
constructor
.delegate
Constructor and Description |
---|
FsFilteringManager(FsManager manager,
FsMountPoint prefix)
Constructs a new prefix filter file system manager from the given file
system manager and mount point prefix.
|
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Returns the number of federated file systems managed by this instance.
|
Iterator<FsController<?>> |
iterator()
Returns an iterator over the controllers of all federated file systems
managed by this instance.
|
getController, toString
public FsFilteringManager(FsManager manager, FsMountPoint prefix)
manager
- the decorated file system manager.prefix
- the prefix of the mount point used to filter all federated
file systems of the decorated file system manager.public int getSize()
FsManager
getSize
in class FsDecoratingManager<FsManager>
public Iterator<FsController<?>> iterator()
FsManager
Note that the iterated file system controllers must be ordered so that all file systems appear before any of their parent file systems.
Last, but not least: The iterator must be consistent in multithreaded environments!
iterator
in interface Iterable<FsController<?>>
iterator
in class FsDecoratingManager<FsManager>
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.