|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExportContext
ExportContext...
| Method Summary | |
|---|---|
javax.jcr.Item |
getExportRoot()
Returns the item to be exported |
MimeResolver |
getMimeResolver()
Return the MimeResolver defined for this export context. |
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. |
| Methods inherited from interface org.apache.jackrabbit.server.io.IOContext |
|---|
getIOListener, hasStream, informCompleted, isCompleted |
| Method Detail |
|---|
javax.jcr.Item getExportRoot()
OutputStream getOutputStream()
null
nullMimeResolver getMimeResolver()
MimeResolver defined for this export context.
void 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 ETag
void setProperty(Object propertyName,
Object propertyValue)
propertyName - propertyValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||