public class HeadNodeScratch extends StorageType
mLocalDirectory, mSharedDirectory
Constructor and Description |
---|
HeadNodeScratch()
The default constructor
|
HeadNodeScratch(LocalDirectory local,
SharedDirectory shared)
The overloaded constructor.
|
HeadNodeScratch(StorageType type)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
void |
toXML(java.io.Writer writer,
java.lang.String indent)
Writes out the xml description of the object.
|
accept, clone, getLocalDirectory, getSharedDirectory, setLocalDirectory, setLocalDirectory, setSharedDirectory, setSharedDirectory
toString, toXML, writeAttribute
public HeadNodeScratch()
public HeadNodeScratch(StorageType type)
type
- StorageTypepublic HeadNodeScratch(LocalDirectory local, SharedDirectory shared)
local
- the local directory on the node.shared
- the shared directory on the node.public void toXML(java.io.Writer writer, java.lang.String indent) throws java.io.IOException
toXML
in class StorageType
writer
- is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent
- the indent to be used.java.io.IOException
- if something fishy happens to the stream.