Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


oracle.imaging
Class Rendition

java.lang.Object
  extended by oracle.imaging.Rendition


public class Rendition
extends java.lang.Object

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

Rendition

public Rendition()

Rendition

public Rendition(java.lang.String filename,
                 java.lang.String mimeType,
                 javax.activation.DataHandler content)

Method Detail

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime-type of the content contained in returned stream.
Parameters:
mimeType - A string containing the mime-type identifier

getMimeType

public java.lang.String getMimeType()
Returns the mime-type of the content contained in returned stream.
Returns:
mimeType A string containing the mime-type identifier

setContent

public void setContent(javax.activation.DataHandler content)
Sets the content stream in returned from the operation
Parameters:
content - A DataHandler containing the content data

getContent

public javax.activation.DataHandler getContent()
Returns the content stream.
Returns:
DataHandler Contains the content data

setOriginalFilename

public void setOriginalFilename(java.lang.String originalFilename)
Sets the original filename of the document represented by the returned content
Parameters:
originalFilename - A String containing the original filename of the document

getOriginalFilename

public java.lang.String getOriginalFilename()
Returns the original filename of the document returned from this operation.
Returns:
String Contains the original document filename

setDocument

public void setDocument(Document document)

getDocument

public Document getDocument()

Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.