public interface PdfStreamFilter
Modifier and Type | Method and Description |
---|---|
PdfStream |
decode(PdfStream stream)
Decodes a stream using this filter's decoding method.
|
PdfStream |
encode(PdfStream stream)
Encodes a stream using this filter's encoding method.
|
PdfName |
getName()
Returns the name of this filter method.
|
PdfName getName()
PdfStream encode(PdfStream stream) throws java.io.IOException, PdfFormatException
stream
- the stream to encode.PdfFormatException
java.io.IOException
PdfStream decode(PdfStream stream) throws java.io.IOException, PdfFormatException, PdfDecoderFormatException
stream
- the stream to decode.PdfFormatException
java.io.IOException
PdfDecoderFormatException