org.ow2.weblab.content.impl.webdav
Class WebDAVContentManager
java.lang.Object
org.ow2.weblab.content.impl.webdav.WebDAVContentManager
- All Implemented Interfaces:
- ContentReader, ContentWriter
public class WebDAVContentManager
- extends java.lang.Object
- implements ContentReader, ContentWriter
|
Method Summary |
java.io.File |
readContent(java.net.URI destUri)
|
java.net.URI |
writeContent(java.io.InputStream content,
org.ow2.weblab.core.model.Resource resource)
|
java.net.URI |
writeExposedContent(java.io.InputStream content,
org.ow2.weblab.core.model.Resource resource)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public org.apache.commons.logging.Log logger
WEBDAV_PROPERTY_FILE
public static final java.lang.String WEBDAV_PROPERTY_FILE
- See Also:
- Constant Field Values
WEBDAV_TMP_FOLDER_PATH
public static final java.lang.String WEBDAV_TMP_FOLDER_PATH
- See Also:
- Constant Field Values
WEBDAV_HOST
public static final java.lang.String WEBDAV_HOST
- See Also:
- Constant Field Values
WEBDAV_TIMEOUT
public static final java.lang.String WEBDAV_TIMEOUT
- See Also:
- Constant Field Values
WEBDAV_MAXHOSTCONNECTIONS
public static final java.lang.String WEBDAV_MAXHOSTCONNECTIONS
- See Also:
- Constant Field Values
WEBDAV_PASSWORD
public static final java.lang.String WEBDAV_PASSWORD
- See Also:
- Constant Field Values
WEBDAV_USERNAME
public static final java.lang.String WEBDAV_USERNAME
- See Also:
- Constant Field Values
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
SUFFIX
public static final java.lang.String SUFFIX
- See Also:
- Constant Field Values
cpt
public static int cpt
WebDAVContentManager
public WebDAVContentManager()
writeContent
public java.net.URI writeContent(java.io.InputStream content,
org.ow2.weblab.core.model.Resource resource)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
- Specified by:
writeContent in interface ContentWriter
- Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException
writeExposedContent
public java.net.URI writeExposedContent(java.io.InputStream content,
org.ow2.weblab.core.model.Resource resource)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
- Specified by:
writeExposedContent in interface ContentWriter
- Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException
readContent
public java.io.File readContent(java.net.URI destUri)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
- Specified by:
readContent in interface ContentReader
- Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException
Copyright © 2004-2012. All Rights Reserved.