public class FileServer extends FileServerType
FileServerType.OPERATIONmMountPoint, mOperation, mProfiles, mProtocol, mURLPrefix| Constructor and Description |
|---|
FileServer()
The default constructor.
|
FileServer(java.lang.String protocol,
java.lang.String urlPrefix,
java.lang.String mountPoint)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
Profiles |
getProfiles()
Returns the associated profiles
|
java.lang.String |
getURL()
Returns the externally accessible URL composed of url prefix and the
mount point
|
void |
toXML(java.io.Writer writer,
java.lang.String indent)
Writes out the xml description of the object.
|
addProfile, clone, getMountPoint, getProtocol, getSupportedOperation, getURLPrefix, setMountPoint, setProfiles, setProtocol, setSupportedOperation, setURLPrefixtoString, toXML, writeAttributepublic FileServer()
public FileServer(java.lang.String protocol,
java.lang.String urlPrefix,
java.lang.String mountPoint)
protocol - protocol employed by the File Server.urlPrefix - the url prefixmountPoint - the mount point for the server.public java.lang.String getURL()
public void toXML(java.io.Writer writer,
java.lang.String indent)
throws java.io.IOException
toXML in class AbstractSiteDatawriter - 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
AbstractSiteDataaccept in class AbstractSiteDatavisitor - java.io.IOException - if something fishy happens to the stream.public Profiles getProfiles()