org.xcmis.renditions.impl
Class ImageRenditionProvider

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

public class ImageRenditionProvider
extends Object
implements org.xcmis.spi.RenditionProvider

Version:
$Id: ImageRenditionProvider.java 1218 2010-06-03 14:56:06Z andrew00x $
Author:
Andrey Parfonov

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

Constructor Detail

ImageRenditionProvider

public ImageRenditionProvider()
Method Detail

getHeight

public int getHeight()

Specified by:
getHeight in interface org.xcmis.spi.RenditionProvider

getKind

public String getKind()

Specified by:
getKind in interface org.xcmis.spi.RenditionProvider

getProducedMediaType

public org.xcmis.spi.utils.MimeType getProducedMediaType()

Specified by:
getProducedMediaType in interface org.xcmis.spi.RenditionProvider

getRenditionStream

public org.xcmis.spi.RenditionContentStream getRenditionStream(org.xcmis.spi.ContentStream stream)
                                                        throws IOException

Specified by:
getRenditionStream in interface org.xcmis.spi.RenditionProvider
Throws:
IOException

getSupportedMediaType

public org.xcmis.spi.utils.MimeType[] getSupportedMediaType()

Specified by:
getSupportedMediaType in interface org.xcmis.spi.RenditionProvider

getWidth

public int getWidth()

Specified by:
getWidth in interface org.xcmis.spi.RenditionProvider


Copyright © 2010 eXo Platform SAS. All Rights Reserved.