rabbit.handler.convert
Class JavaImageConverter

java.lang.Object
  extended by rabbit.handler.convert.JavaImageConverter
All Implemented Interfaces:
ImageConverter

public class JavaImageConverter
extends Object
implements ImageConverter

An image converter that uses javax.image to convert images

Author:
Robert Olofsson

Constructor Summary
JavaImageConverter(SProperties props)
           
 
Method Summary
 boolean canConvert()
          Check if this image converter can do any work.
 void convertImage(File input, File output, String info)
          Convert an image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaImageConverter

public JavaImageConverter(SProperties props)
Method Detail

canConvert

public boolean canConvert()
Description copied from interface: ImageConverter
Check if this image converter can do any work.

Specified by:
canConvert in interface ImageConverter

convertImage

public void convertImage(File input,
                         File output,
                         String info)
                  throws IOException
Description copied from interface: ImageConverter
Convert an image

Specified by:
convertImage in interface ImageConverter
Throws:
IOException