public interface ExportContext extends IOContext
ExportContext...| Modifier and Type | Method and Description | 
|---|---|
javax.jcr.Item | 
getExportRoot()
Returns the item to be exported 
 | 
OutputStream | 
getOutputStream()
Return the output stream to be used for the export or  
null | 
void | 
setContentLanguage(String contentLanguage)
Sets the content language. 
 | 
void | 
setContentLength(long contentLength)
Sets the length of the data. 
 | 
void | 
setContentType(String mimeType,
              String encoding)
Set the content type for the resource content 
 | 
void | 
setCreationTime(long creationTime)
Sets the creation time of the resource. 
 | 
void | 
setETag(String etag)
Sets the ETag of the resource. 
 | 
void | 
setModificationTime(long modificationTime)
Sets the modification time of the resource 
 | 
void | 
setProperty(Object propertyName,
           Object propertyValue)
Sets an arbitrary property to this export context. 
 | 
getIOListener, hasStream, informCompleted, isCompletedjavax.jcr.Item getExportRoot()
OutputStream getOutputStream()
nullnullvoid setContentType(String mimeType, String encoding)
mimeType - encoding - void setContentLanguage(String contentLanguage)
contentLanguage - void setContentLength(long contentLength)
contentLength - the content lengthvoid setCreationTime(long creationTime)
creationTime - the creation timevoid setModificationTime(long modificationTime)
modificationTime - the modification timevoid setETag(String etag)
etag - the ETagCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.