@Immutable public final class FileDriver extends FsDriver
Constructor and Description |
---|
FileDriver() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns a priority to help the file system driver service locator.
|
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 nullable parent file system controller.
|
isFederated, newController, toString
public int getPriority()
getPriority
in class FsDriver
100
or Integer.MIN_VALUE
, depending on the
availability of the NIO.2 API.public FsController<?> newController(FsModel model, @CheckForNull FsController<?> parent)
FsDriver
When called, you may assert the following precondition:
assert null == parent
? null == model.getParent()
: parent.getModel().equals(model.getParent())
newController
in class FsDriver
model
- the file system model.parent
- the nullable parent file system controller.FsCompositeDriver.newController(de.schlichtherle.truezip.fs.FsManager, de.schlichtherle.truezip.fs.FsModel, de.schlichtherle.truezip.fs.FsController<? extends de.schlichtherle.truezip.fs.FsModel>)
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.