|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.transform.util.Transcoder
public class Transcoder
Wrapper class to the Transcoder in the VICAR IO library.
Constructor Summary | |
---|---|
Transcoder()
Constructor. |
Method Summary | |
---|---|
void |
transcode(File input,
File output,
String format)
Transcode the given input. |
void |
transcode(File input,
File output,
String format,
int index,
boolean readAsRenderedImage)
Transcode the given input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transcoder()
Method Detail |
---|
public void transcode(File input, File output, String format) throws TransformException
input
- The input file.output
- The output file.format
- The format of the resulting transformation.
TransformException
- If an error occurred transcoding
the input file.public void transcode(File input, File output, String format, int index, boolean readAsRenderedImage) throws TransformException
input
- The input file.output
- The output file.format
- The format of the resulting transformation.index
- The index of the image within the input file.readAsRenderedImage
- 'true' to read the input as a rendered
image, 'false' otherwise.
TransformException
- If an error occurred transcoding
the input file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |