ExternalProcessConverter (RabbIT/4)
Date: 2009-12-20

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.handler.convert
Class ExternalProcessConverter

    java.lang.Object
      rabbit.handler.convert.ExternalProcessConverter

All Implemented Interfaces:
  ImageConverter

    public class ExternalProcessConverter

extends Object
implements ImageConverter

An image converter that runs an external program to do the actual conversion.

Constructor Summary
`ExternalProcessConverter(SProperties props)`

Method Summary
`boolean` | `canConvert()` Check if this image converter can do any work.
`void` | `closeStreams(Process ps)`
`void` | `convertImage(File from, File to, 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

### ExternalProcessConverter

    public ExternalProcessConverter(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 from,
                             File to,
                             String info)
                      throws IOException

  Description copied from interface: `ImageConverter`
  Convert an image

  Specified by:
    `convertImage` in interface `ImageConverter`
  Throws:
    `IOException`

### closeStreams

    public void closeStreams(Process ps)
                      throws IOException

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD