|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.truezip.fs.FsModel
de.schlichtherle.truezip.fs.FsDecoratingModel<M>
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>
An abstract decorator for a file system model.
| Field Summary | |
|---|---|
protected M |
delegate
|
| Constructor Summary | |
|---|---|
protected |
FsDecoratingModel(M model)
|
| Method Summary | |
|---|---|
FsMountPoint |
getMountPoint()
Returns the mount point of this file system model. |
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 the contents of the federated file
system have been modified so that it needs
synchronization with its parent file
system. |
void |
setTouched(boolean touched)
Sets the value of the property touched. |
String |
toString()
Returns a string representation of this object for debugging and logging purposes. |
| Methods inherited from class de.schlichtherle.truezip.fs.FsModel |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final M extends FsModel delegate
| Constructor Detail |
|---|
protected FsDecoratingModel(M model)
| Method Detail |
|---|
public FsMountPoint getMountPoint()
FsModelThe mount point may be used to construct error messages or to locate and access file system metadata 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.
getParent in class FsModelpublic boolean isTouched()
FsModeltrue if and only if the contents of the federated file
system have been modified so that it needs
synchronization with its parent file
system.
isTouched in class FsModelpublic void setTouched(boolean touched)
FsModeltouched.
setTouched in class FsModeltouched - the new value of this property.public String toString()
toString in class FsModel
|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||