public class FileSystem
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CDROM |
static int |
TYPE_LOCAL_DISK |
static int |
TYPE_NETWORK |
static int |
TYPE_NONE |
static int |
TYPE_RAM_DISK |
static int |
TYPE_SWAP |
static int |
TYPE_UNKNOWN |
Constructor and Description |
---|
FileSystem() |
Modifier and Type | Method and Description |
---|---|
void |
gather(Sigar sigar) |
java.lang.String |
getDevName()
Get the Device name.
|
java.lang.String |
getDirName()
Get the Directory name.
|
long |
getFlags()
Get the File system flags.
|
java.lang.String |
getOptions()
Get the File system mount options.
|
java.lang.String |
getSysTypeName()
Get the File system os specific type name.
|
int |
getType()
Get the File system type.
|
java.lang.String |
getTypeName()
Get the File system generic type name.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public static final int TYPE_UNKNOWN
public static final int TYPE_NONE
public static final int TYPE_LOCAL_DISK
public static final int TYPE_NETWORK
public static final int TYPE_RAM_DISK
public static final int TYPE_CDROM
public static final int TYPE_SWAP
public void gather(Sigar sigar) throws SigarException
SigarException
public java.lang.String getDirName()
Supported Platforms: All.
public java.lang.String getDevName()
Supported Platforms: All.
public java.lang.String getTypeName()
Supported Platforms: All.
public java.lang.String getSysTypeName()
Supported Platforms: All.
public java.lang.String getOptions()
Supported Platforms: All.
public int getType()
Supported Platforms: All.
public long getFlags()
Supported Platforms: All.
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map toMap()
Copyright ? 2004-2011 Hyperic. All Rights Reserved.