Context
- The type of the calling context.public static interface FsModel.Factory<Context>
Implementations should be safe for multi-threaded access.
Modifier and Type | Method and Description |
---|---|
FsModel |
newModel(Context context,
FsMountPoint mountPoint,
FsModel parent)
Returns a new file system model for the given mount point.
|
FsModel newModel(Context context, FsMountPoint mountPoint, @CheckForNull FsModel parent)
When called, you may assert the following precondition:
assert null == parent
? null == mountPoint.getParent()
: parent.getMountPoint().equals(mountPoint.getParent());
context
- the calling context.mountPoint
- the mount point of the file system.parent
- the nullable parent file system model.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.