@Immutable public abstract class FsAbstractCompositeDriver extends Object implements FsCompositeDriver, FsDriverProvider
newController(de.schlichtherle.truezip.fs.FsModel, de.schlichtherle.truezip.fs.FsController<?>) which uses
the file system driver map returned by FsDriverProvider.get() to lookup the
appropriate driver for the scheme of any given mount point.| Constructor and Description |
|---|
FsAbstractCompositeDriver() |
| Modifier and Type | Method and Description |
|---|---|
FsController<?> |
newController(FsModel model,
FsController<?> parent)
Returns a new thread-safe file system controller for the mount point of
the given file system model and parent file system controller.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetpublic final FsController<?> newController(FsModel model, FsController<?> parent)
FsCompositeDriverfile system driver which is looked up by querying the
scheme of the mount point of the given file system model with the
expression model.getMountPoint().getScheme().
When called, you may safely assume the following precondition:
assert null == model.getParent()
? null == parent
: model.getParent().equals(parent.getModel())
This preconditionnewController in interface FsCompositeDrivermodel - the file system model.parent - the nullable parent file system controller.FsDriver.newController(de.schlichtherle.truezip.fs.FsModel, de.schlichtherle.truezip.fs.FsController<?>)Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.