Constructor and Description |
---|
IPTCPreFilter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
filter(InputStream in,
long length)
Process the text provided in
input and return the filtered or
transformed text in a byte array. |
String |
getImageEncoding() |
void |
setImageEncoding(String pEncoding) |
public byte[] filter(InputStream in, long length) throws IOException
PreFilter
input
and return the filtered or
transformed text in a byte array.filter
in interface PreFilter
in
- the input file or output from previous pre-filterlength
- the nuber of bytes in the input or -1
if length is not known.IOException
- this exception can be thrown if an error
is encounterd in the input. Throwing this exception will cause
the processing of the current file to be interrupted. The file
will be copied to the error directory.public String getImageEncoding()
public void setImageEncoding(String pEncoding)
the
- Encoding used to parse image IPTC info© 1998- 2018 Stibo DX