public interface FsCompositeDriver
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.
|
FsController<?> newController(FsModel model, @Nullable FsController<?> parent)
file 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 preconditionmodel
- the file system model.parent
- the nullable parent file system controller.ServiceConfigurationError
- if no appropriate file system driver
can get found for the scheme of the given mount point.FsDriver.newController(de.schlichtherle.truezip.fs.FsModel, de.schlichtherle.truezip.fs.FsController<?>)
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.