|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.metadata.ContentDestination
public class 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,
java.lang.String path,
java.lang.String basePath,
ServerInterface server,
DirectoryInterface basePathDirectory)
Constructor for ContentDestination. |
Method Summary | |
---|---|
java.lang.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. |
java.lang.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. |
Constructor Detail |
---|
public ContentDestination(DirectoryInterface directory, java.lang.String path, java.lang.String basePath, ServerInterface server, DirectoryInterface basePathDirectory)
directory
- A DirectoryInterface object for the base directory
where the content will be stored.path
- A String containing the path from the base directory
where the content will be located.basePath
- A String with yet another path.server
- The server that provides access to the directory.basePathDirectory
- The base path directory.Method Detail |
---|
public java.lang.String getBasePath()
null
.public java.lang.String getPath()
public ServerInterface getServer()
null
.public DirectoryInterface getDirectory()
null
.public DirectoryInterface getBasePathDirectory()
null
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |