@ThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class FsModel extends Object
Sub-classes must be thread-safe, too.
FsController| Constructor and Description |
|---|
FsModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that)
Two file system models are considered equal if and only if they are
identical.
|
abstract FsMountPoint |
getMountPoint()
Returns the mount point of this file system model.
|
abstract 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. |
int |
hashCode()
Returns a hash code which is consistent with
equals(java.lang.Object). |
abstract 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. |
abstract 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.
|
public abstract FsMountPoint getMountPoint()
The 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.
@Nullable public abstract FsModel getParent()
null if and
only if the file system is not federated, i.e. if it's not a member of
a parent file system.public abstract boolean isTouched()
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.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.public abstract void setTouched(boolean touched)
touched.touched - the new value of this property.public final boolean equals(Object that)
public final int hashCode()
equals(java.lang.Object).
This can't get overriden.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.