|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object | +--com.sas.services.information.metadata.ContentDestination
The ContentDestination class is a container class that contains the content destination information for a subscriber or channel.
A channel can be defined with a default archive path or a default WebDAV server. This container class is used to return the content destination information for each of these default transports. If a default WebDAV server is defined on a channel, the content destination contains information needed to access this webDAV content destination. Information includes the relative URL as defined on the channel, the server's base path, and the server itself.
If a default archive path is defined on a channel, the content destination contains information. If the archive path is defined as a physical file location, the server and base path information will be null, and the path will identify the physical file location. If the archive path is defined as an HTTP server, the content destination includes the relative path as defined on the channel, as well as the server's base path and the server itself. If the archive path is defined as an FTP server, the content destination will include the relative path information as defined on the channel, as well as the server (there is no base path information for an FTP server).
A subscriber can be defined as a WebDAV subscriber. The content destination will include the relative path as defined for the subscriber, as well as the server's base path and the server definition itself.
| Constructor Summary | |
ContentDestination(DirectoryInterface directory,
String path,
String basePath,
ServerInterface server,
DirectoryInterface basePathDirectory)
Constructor for ContentDestination. |
|
| Method Summary | |
String |
getBasePath()
Returns content destination's base path. |
DirectoryInterface |
getBasePathDirectory()
If the content destination is defined as an HTTP server, this Directory object represents the base path directory of the HTTP server. |
DirectoryInterface |
getDirectory()
The Directory object that represents the content destination information. |
String |
getPath()
Returns the path of the content destination information as defined on a channel or subscriber. |
ServerInterface |
getServer()
Returns the server as defined as the content destination for a channel or subscriber. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContentDestination(DirectoryInterface directory,
String path,
String basePath,
ServerInterface server,
DirectoryInterface basePathDirectory)
| Method Detail |
public String getBasePath()
null.public String getPath()
public ServerInterface getServer()
null.public DirectoryInterface getDirectory()
null.public DirectoryInterface getBasePathDirectory()
null
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||