public class LegacyFilterSupport extends Object implements StreamFilter
PreFilter
classes to be used with the new StreamFilter
API.Constructor and Description |
---|
LegacyFilterSupport() |
Modifier and Type | Method and Description |
---|---|
InputStream |
filter(InputStream pStream)
Filters a binay steam, typically by wraping it in a
FilterInputStream subclass. |
void |
setFilter(PreFilter pFilter) |
String |
toString() |
public InputStream filter(InputStream pStream)
StreamFilter
FilterInputStream
subclass.filter
in interface StreamFilter
pStream
- the stream to filternull
. If no filtering is performed, simply return pStream
.public void setFilter(PreFilter pFilter)
© 1998- 2018 Stibo DX