public class LocalDirectory extends DirectoryLayout
mFileServers, mInternalMount
Constructor and Description |
---|
LocalDirectory()
The default constructor.
|
LocalDirectory(java.util.Map<FileServerType.OPERATION,java.util.List<FileServer>> fs,
InternalMountPoint imt)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SiteDataVisitor visitor)
Accepts the visitor and calls visit method on the visitor accordingly
|
void |
toXML(java.io.Writer writer,
java.lang.String indent)
Writes out the xml description of the object.
|
addFileServer, clone, getFileServers, getFileServersIterator, getInternalMountPoint, hasFileServerForGETOperations, hasFileServerForOperations, hasFileServerForPUTOperations, isEmpty, resetFileServers, selectFileServer, setFileServers, setInternalMountPoint
toString, toXML, writeAttribute
public LocalDirectory()
public LocalDirectory(java.util.Map<FileServerType.OPERATION,java.util.List<FileServer>> fs, InternalMountPoint imt)
fs
- list of file serversimt
- the internal mount point.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 be used.java.io.IOException
- if something fishy happens to the stream.public void accept(SiteDataVisitor visitor) throws java.io.IOException
accept
in class AbstractSiteData
visitor
- java.io.IOException
- if something fishy happens to the stream.