public class InternalMountPoint extends FileSystemType
mFreeSize, mMountPoint, mTotalSize
Constructor and Description |
---|
InternalMountPoint()
The default constructor.
|
InternalMountPoint(java.lang.String mountPoint)
The overloaded constructor.
|
InternalMountPoint(java.lang.String mountPoint,
java.lang.String totalSize,
java.lang.String freeSize)
The overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
boolean |
isEmpty()
A convenience method that returns true if all the attributes values are
uninitialized or empty strings.
|
void |
toXML(java.io.Writer writer,
java.lang.String indent)
Writes out the xml description of the object.
|
clone, getFreeSize, getMountPoint, getTotalSize, setFreeSize, setMountPoint, setTotalSize
toString, toXML, writeAttribute
public InternalMountPoint()
public InternalMountPoint(java.lang.String mountPoint)
mountPoint
- the mount point of the system.public InternalMountPoint(java.lang.String mountPoint, java.lang.String totalSize, java.lang.String freeSize)
mountPoint
- the mount point of the system.totalSize
- the total size of the system.freeSize
- the free sizepublic boolean isEmpty()
public void toXML(java.io.Writer writer, java.lang.String indent) throws java.io.IOException
toXML
in class AbstractSiteData
writer
- is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent
- the indent to use.java.io.IOException
- if something fishy happens to the stream.public void accept(SiteDataVisitor visitor)
AbstractSiteData
accept
in class AbstractSiteData
visitor
- the visitor to be used