All Packages Class Hierarchy This Package Previous Next Index
Class org.jos.fs.FSBranchInfo
java.lang.Object
|
+----org.jos.fs.FSBranchInfo
- public class FSBranchInfo
- extends Object
Interface to information about a branch
If the free space calculation is very costly, FSBranchInfo can be
subclassed and getFreeSpace() replaced (that's why getFreeSpace() is
not final, unlike the other methods).
- Version:
- JOS-FileSystem 4 Preview (25-Mar-98)
- Author:
- Stefan Reich
- See Also:
- FileSystem, FSManager
-
FREESPACE_UNKNOWN
- number of bytes free: unknown
-
FSBranchInfo(int, long)
-
-
getCasePolicy()
-
-
getFreeSpace()
-
FREESPACE_UNKNOWN
public static final int FREESPACE_UNKNOWN
- number of bytes free: unknown
FSBranchInfo
public FSBranchInfo(int casePolicy,
long freeSpace)
getCasePolicy
public final int getCasePolicy()
- Returns:
- one of the FileSystem.CASEPOLICY_... constants
getFreeSpace
public long getFreeSpace()
- Returns:
- the number of bytes free or FREESPACE_UNKNOWN if unknown
All Packages Class Hierarchy This Package Previous Next Index