public class InternalMountPoint extends FileSystemType
mFreeSize, mMountPoint, mTotalSize
Constructor and Description |
---|
InternalMountPoint()
The default constructor.
|
InternalMountPoint(String mountPoint)
The overloaded constructor.
|
InternalMountPoint(String mountPoint,
String totalSize,
String freeSize)
The overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
A convenience method that returns true if all the attributes values are
uninitialized or empty strings.
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
clone, getFreeSize, getMountPoint, getTotalSize, setFreeSize, setMountPoint, setTotalSize
toString, toXML, writeAttribute
public InternalMountPoint()
public InternalMountPoint(String mountPoint)
mountPoint
- the mount point of the system.public boolean isEmpty()
public void toXML(Writer writer, String indent) throws 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.IOException
- if something fishy happens to the stream.Copyright © 2011 The University of Southern California. All Rights Reserved.