org.xiruss.xirussrepository.server.jetty.viewer
Class RepositoryReportResource
java.lang.Object
org.mortbay.util.Resource
org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase
org.xiruss.xirussrepository.server.jetty.viewer.XirussHtmlResource
org.xiruss.xirussrepository.server.jetty.viewer.RepositoryReportResource
- All Implemented Interfaces:
- java.io.Serializable
public class RepositoryReportResource
- extends XirussHtmlResource
Represents repository dumps.
- See Also:
- Serialized Form
Method Summary |
java.io.InputStream |
getInputStream()
|
java.lang.String |
getListHTML(java.lang.String base,
boolean parent)
Get the resource list as a HTML directory listing. |
Methods inherited from class org.xiruss.xirussrepository.server.jetty.viewer.XirussResourceBase |
addPath, delete, exists, getAssociate, getCharacterEncoding, getFile, getHttpContext, getMimeType, getName, getOutputStream, getPathToMe, getRepositoryObject, getResourceType, getURL, lastModified, list, release, renameTo, setAssociate, writeTo |
Methods inherited from class org.mortbay.util.Resource |
cache, encode, finalize, getAlias, newResource, newResource, newSystemResource |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reportString
protected java.lang.String reportString
RepositoryReportResource
public RepositoryReportResource(XirussRepository rep,
org.mortbay.http.HttpRequest request,
int resourceType,
java.util.Vector pathTokens)
throws SnapCMException,
java.io.IOException
- Throws:
SnapCMException
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Overrides:
getInputStream
in class XirussHtmlResource
- Throws:
java.io.IOException
getListHTML
public java.lang.String getListHTML(java.lang.String base,
boolean parent)
throws java.io.IOException
- Get the resource list as a HTML directory listing.
- Overrides:
getListHTML
in class org.mortbay.util.Resource
- Parameters:
base
- The base URLparent
- True if the parent directory should be included
- Returns:
- String of HTML
- Throws:
java.io.IOException