| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   oracle.imaging.Rendition
oracle.imaging.Rendition
public class Rendition
Class to contain the results of a RetrieveRendition operation. The information contained provides the returned content, the mime-type of that content stream, and the original filename that can be used to name the output.
| Constructor Summary | |
|---|---|
| Rendition() | |
| Rendition(java.lang.String filename, java.lang.String mimeType, javax.activation.DataHandler content) | |
| Method Summary | |
|---|---|
|  javax.activation.DataHandler | getContent()Returns the content stream. | 
|  Document | getDocument() | 
|  java.lang.String | getMimeType()Returns the mime-type of the content contained in returned stream. | 
|  java.lang.String | getOriginalFilename()Returns the original filename of the document returned from this operation. | 
|  void | setContent(javax.activation.DataHandler content)Sets the content stream in returned from the operation | 
|  void | setDocument(Document document) | 
|  void | setMimeType(java.lang.String mimeType)Sets the mime-type of the content contained in returned stream. | 
|  void | setOriginalFilename(java.lang.String originalFilename)Sets the original filename of the document represented by the returned content | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Rendition()
public Rendition(java.lang.String filename,
                 java.lang.String mimeType,
                 javax.activation.DataHandler content)
| Method Detail | 
|---|
public void setMimeType(java.lang.String mimeType)
mimeType - A string containing the mime-type identifierpublic java.lang.String getMimeType()
public void setContent(javax.activation.DataHandler content)
content - A DataHandler containing the content datapublic javax.activation.DataHandler getContent()
public void setOriginalFilename(java.lang.String originalFilename)
originalFilename - A String containing the original filename of the documentpublic java.lang.String getOriginalFilename()
public void setDocument(Document document)
public Document getDocument()
| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||