org.xcmis.renditions.impl
Class ImageRenditionProvider

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

public class ImageRenditionProvider
extends Object
implements 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()
          
 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

ImageRenditionProvider

public ImageRenditionProvider()
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.