M - The type of the decorated file system model.@ThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class FsDecoratingModel<M extends FsModel> extends FsModel
| Modifier | Constructor and Description |
|---|---|
protected |
FsDecoratingModel(M model) |
| Modifier and Type | Method and Description |
|---|---|
FsMountPoint |
getMountPoint()
Returns the mount point of the file system.
|
FsModel |
getParent()
Returns the model of the parent file system or
null if and
only if the file system is not federated, i.e. if it's not a member of
a parent file system. |
boolean |
isTouched()
Returns
true if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next sync. |
void |
setTouched(boolean touched)
Sets the value of the property
touched
(optional operation). |
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
protected FsDecoratingModel(M model)
public FsMountPoint getMountPoint()
FsModelThe mount point may be used to construct error messages or to locate and access file system meta data which is stored outside the file system, e.g. in-memory stored passwords for RAES encrypted ZIP files.
getMountPoint in class FsModelpublic FsModel getParent()
FsModelnull if and
only if the file system is not federated, i.e. if it's not a member of
a parent file system.public boolean isTouched()
FsModeltrue if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next sync.
The implementation in the class FsModel always returns
false.
isTouched in class FsModeltrue if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next sync.public void setTouched(boolean touched)
FsModeltouched
(optional operation).
The implementation in the class FsModel always throws an
UnsupportedOperationException.
setTouched in class FsModeltouched - the new value of this property.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.