org.xcmis.renditions.impl
Class PDFDocumentRenditionProvider

java.lang.Object
  extended by org.xcmis.renditions.impl.PDFDocumentRenditionProvider
All Implemented Interfaces:
RenditionProvider

public class PDFDocumentRenditionProvider
extends Object
implements RenditionProvider

Version:
$Id: PDFDocumentRenditionProvider.java 774 2010-04-16 11:56:20Z ur3cma $
Author:
Andrey Parfonov

Constructor Summary
PDFDocumentRenditionProvider()
           
 
Method Summary
 int getHeight()
          
 String getKind()
          
 MimeType getProducedMediaType()
          
 RenditionContentStream getRenditionStream(ContentStream stream)
          
 MimeType[] getSupportedMediaType()
          
 int getWidth()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFDocumentRenditionProvider

public PDFDocumentRenditionProvider()
Method Detail

getHeight

public int getHeight()

Specified by:
getHeight in interface RenditionProvider

getKind

public String getKind()

Specified by:
getKind in interface RenditionProvider

getProducedMediaType

public MimeType getProducedMediaType()

Specified by:
getProducedMediaType in interface RenditionProvider

getRenditionStream

public RenditionContentStream getRenditionStream(ContentStream stream)
                                          throws IOException

Specified by:
getRenditionStream in interface RenditionProvider
Throws:
IOException

getSupportedMediaType

public MimeType[] getSupportedMediaType()

Specified by:
getSupportedMediaType in interface RenditionProvider

getWidth

public int getWidth()

Specified by:
getWidth in interface RenditionProvider


Copyright © 2010 eXo Platform SAS. All Rights Reserved.