public interface OutputContext
OutputContext
...Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
getOutputStream()
Return the output stream to be used for the export or
null |
boolean |
hasStream()
Return true if the given export context can provide an output stream
|
void |
setContentLanguage(java.lang.String contentLanguage)
Sets the content language.
|
void |
setContentLength(long contentLength)
Sets the length of the data.
|
void |
setContentType(java.lang.String contentType)
Set the content type for the resource content
|
void |
setETag(java.lang.String etag)
Sets the ETag of the resource.
|
void |
setModificationTime(long modificationTime)
Sets the modification time of the resource
|
void |
setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Allows to set additional properties that are not covered by an extra setter
method.
|
boolean hasStream()
java.io.OutputStream getOutputStream()
null
void setContentLanguage(java.lang.String contentLanguage)
contentLanguage
- void setContentLength(long contentLength)
contentLength
- the content lengthvoid setContentType(java.lang.String contentType)
contentType
- void setModificationTime(long modificationTime)
modificationTime
- the modification timevoid setETag(java.lang.String etag)
etag
- the ETagvoid setProperty(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- propertyValue
- Copyright © 2010 - 2020 Adobe. All Rights Reserved