public interface Filter
Modifier and Type | Method and Description |
---|---|
void |
filter(byte[] buf,
int off,
int len)
Filter a couple of bytes.
|
boolean |
isValid()
Return a flag indicating whether the contents processed by this filter
represents a valid entity.
|
void |
reset()
Reset the filter.
|
void |
setAutoReset(boolean autoReset)
Set the flag indicating whether the filter automatically resets its
internal state when the end marker has been read.
|
void filter(byte[] buf, int off, int len) throws IOException
buf
- bufferoff
- offset inside bufferlen
- number of bytesIOException
void reset()
void setAutoReset(boolean autoReset)
autoReset
- autoResetboolean isValid()
true
if the contents is valid;
false
otherwise.Copyright © 2010 - 2020 Adobe. All Rights Reserved