FilterInputStream
instead.@Deprecated public class NullPreFilter extends Object implements PreFilter
Constructor and Description |
---|
NullPreFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
filter(InputStream in,
long length)
Deprecated.
Copies input to a byte array and then returns the whole
array.
|
public byte[] filter(InputStream in, long length) throws IOException
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.© 1998- 2021 Escenic AS