Package com.logicaldoc.webdav.context
Class ExportContextImpl
- java.lang.Object
-
- com.logicaldoc.webdav.context.AbstractExportContext
-
- com.logicaldoc.webdav.context.ExportContextImpl
-
- All Implemented Interfaces:
ExportContext
,org.apache.jackrabbit.server.io.IOContext
public class ExportContextImpl extends AbstractExportContext
For more informations, please visitExportContextImpl
- Author:
- Sebastian Wenzky
-
-
Constructor Summary
Constructors Constructor Description ExportContextImpl(Resource resource, org.apache.jackrabbit.webdav.io.OutputContext outputCtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getOutputStream()
void
informCompleted(boolean success)
void
setContentLanguage(String contentLanguage)
void
setContentLength(long contentLength)
void
setContentType(String mimeType, String encoding)
void
setCreationTime(long creationTime)
void
setETag(String etag)
void
setModificationTime(long modificationTime)
void
setProperty(Object propertyName, Object propertyValue)
-
Methods inherited from class com.logicaldoc.webdav.context.AbstractExportContext
getIOListener, getResource, hasStream, isCompleted
-
-
-
-
Constructor Detail
-
ExportContextImpl
public ExportContextImpl(Resource resource, org.apache.jackrabbit.webdav.io.OutputContext outputCtx) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream()
-
setContentLanguage
public void setContentLanguage(String contentLanguage)
-
setContentLength
public void setContentLength(long contentLength)
-
setCreationTime
public void setCreationTime(long creationTime)
-
setModificationTime
public void setModificationTime(long modificationTime)
-
setETag
public void setETag(String etag)
-
informCompleted
public void informCompleted(boolean success)
- Specified by:
informCompleted
in interfaceorg.apache.jackrabbit.server.io.IOContext
- Overrides:
informCompleted
in classAbstractExportContext
-
-