public interface Converter
| Modifier and Type | Method and Description |
|---|---|
void |
convert(byte[] bytesIn,
Format fromFormat,
Format toFormat,
OutputStream os)
Convert byte array fromFormat to toFormat, streaming result to OutputStream os.
|
void |
convert(File f,
Format fromFormat,
Format toFormat,
OutputStream os)
Convert File fromFormat to toFormat, streaming result to OutputStream os.
|
void |
convert(InputStream instream,
Format fromFormat,
Format toFormat,
OutputStream os)
Convert InputStream fromFormat to toFormat, streaming result to OutputStream os.
|
void convert(File f, Format fromFormat, Format toFormat, OutputStream os) throws IOException, ConversionException
f - fromFormat - toFormat - os - IOExceptionConversionExceptionvoid convert(InputStream instream, Format fromFormat, Format toFormat, OutputStream os) throws IOException, ConversionException
instream - fromFormat - toFormat - os - IOExceptionConversionExceptionvoid convert(byte[] bytesIn,
Format fromFormat,
Format toFormat,
OutputStream os)
throws IOException,
ConversionException
bytesIn - fromFormat - toFormat - os - IOExceptionConversionExceptionCopyright © 2007-2022. All Rights Reserved.