Main Page
Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues |
All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----com.jconfig.nix.FileSystemNix
Summary |
class FileSystemNix extends java.lang.Object implements com.jconfig.FileSystem { // Fields 5 static final String copyrightString; private String dir; private String fsname; private String opts; private String type; // Constructors 1 FileSystemNix(String, String, String, String); // Methods 11 public void dumpInfo(PrintStream, String); public int getCapacity(long[]); String getDir(); public String getDisplayName(); public int getFlags(); public int getGetFlagsMask(); public int getMaxFileNameLength(); public DiskObject getMountPoint(); public long getReferenceNumber(); public boolean isMatch(FileSystem); public String toString(); }
Represents a file system. This is a preliminary interface, which will be modified and expanded later.
Fields |
· copyrightString | Summary | Top |
static final String copyrightString
· fsname | Summary | Top |
private String fsname
· dir | Summary | Top |
private String dir
· type | Summary | Top |
private String type
· opts | Summary | Top |
private String opts
Constructors |
· FileSystemNix | Summary | Top |
FileSystemNix(String fn, String dr, String ty, String op)
Methods |
· isMatch | Summary | Top |
public boolean isMatch(FileSystem fs)
Indicates whether this FileSystem and 'fs' are the same.
- Implements:
- isMatch in interface FileSystem
· getMountPoint | Summary | Top |
public DiskObject getMountPoint()
Returns a DiskObject representing the point in the directory hierarchy where this file system is mounted. May return null if that information is not available.
- Implements:
- getMountPoint in interface FileSystem
· getDisplayName | Summary | Top |
public String getDisplayName()
Returns the name of this object, as it would be displayed to the user. Note that the display name may be different from the name of this object. If this object no longer exists, returns null.
- Implements:
- getDisplayName in interface FileSystem
· getFlags | Summary | Top |
public int getFlags()
Returns a set of binary flags associated with this object. Use the 'getGetFlagsMask' method to find out which bits of the returned value are significant.
- Implements:
- getFlags in interface FileSystem
· getGetFlagsMask | Summary | Top |
public int getGetFlagsMask()
Returns a mask which indicates which bits returned by 'getFlags' are significant. For instance, if bit 0 of the return value of this method is set, bit 0 of 'getFlags' contains actual information, otherwise, this information is not available.
- Implements:
- getGetFlagsMask in interface FileSystem
· getCapacity | Summary | Top |
public int getCapacity(long[] cap)
Retrieves the the maximum number of bytes of data this file system can hold, as well as the number of bytes currently available on this file system.
Parameter Description cap on return from this method, this array will contain the capacity and free space. It must have at least 'FS_GETCAP_LENGTH' elements. The capacity of the file system will be stored at offset 'FS_GETCAP_CAP_OFFSET', and the free space will be stored at offset 'FS_GETCAP_FREESPACE_OFFSET'.
- Implements:
- getCapacity in interface FileSystem
· getMaxFileNameLength | Summary | Top |
public int getMaxFileNameLength()
Returns the maximum length each element of a path name can have.
- Implements:
- getMaxFileNameLength in interface FileSystem
· getDir | Summary | Top |
String getDir()
· getReferenceNumber | Summary | Top |
public long getReferenceNumber()
- Implements:
- getReferenceNumber in interface FileSystem
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class Object
· dumpInfo | Summary | Top |
public void dumpInfo(PrintStream ps, String indent)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7