public class RenditionImpl extends RenditionDataImpl implements Rendition
Rendition.| Constructor and Description |
|---|
RenditionImpl(Session session,
String objectId,
String streamId,
String renditionDocumentId,
String kind,
long length,
String mimeType,
String title,
int height,
int width)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ContentStream |
getContentStream()
Returns the content stream of the rendition.
|
String |
getContentUrl()
Returns the content URL of the rendition if the binding supports content
URLs.
|
long |
getHeight()
Returns the height in pixels if the rendition is an image.
|
long |
getLength()
Returns the size of the rendition in bytes if available.
|
Document |
getRenditionDocument()
Returns the rendition document if the rendition is a stand-alone
document.
|
Document |
getRenditionDocument(OperationContext context)
Returns the rendition document using the provides
OperationContext if the rendition is a stand-alone document. |
long |
getWidth()
Returns the width in pixels if the rendition is an image.
|
getBigHeight, getBigLength, getBigWidth, getKind, getMimeType, getRenditionDocumentId, getStreamId, getTitle, setBigHeight, setBigLength, setBigWidth, setKind, setMimeType, setRenditionDocumentId, setStreamId, setTitle, toStringgetExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBigHeight, getBigLength, getBigWidth, getKind, getMimeType, getRenditionDocumentId, getStreamId, getTitlegetExtensions, setExtensionspublic long getLength()
Renditionpublic long getHeight()
Renditionpublic long getWidth()
Renditionpublic Document getRenditionDocument()
RenditiongetRenditionDocument in interface Renditionnull if there is no rendition
documentpublic Document getRenditionDocument(OperationContext context)
RenditionOperationContext if the rendition is a stand-alone document.getRenditionDocument in interface Renditionnull if there is no rendition
documentpublic ContentStream getContentStream()
RenditiongetContentStream in interface Renditionnull if the
rendition has no contentpublic String getContentUrl()
RenditiongetContentUrl in interface Renditionnull if the binding
does not support content URLsCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.