Package org.apache.fop.pdf
Class ASCIIHexFilter
java.lang.Object
org.apache.fop.pdf.PDFFilter
org.apache.fop.pdf.ASCIIHexFilter
ASCII Hex filter for PDF streams.
This filter converts a pdf stream to ASCII hex data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyFilter
(OutputStream out) Applies a filter to an OutputStream.Get the decode params.getName()
Get the name of this filter.boolean
Returns true if the filter is an ASCII filter that isn't necessary when encryption is active.Methods inherited from class org.apache.fop.pdf.PDFFilter
isApplied, setApplied
-
Constructor Details
-
ASCIIHexFilter
public ASCIIHexFilter()
-
-
Method Details
-
getName
Get the name of this filter. -
isASCIIFilter
public boolean isASCIIFilter()Returns true if the filter is an ASCII filter that isn't necessary when encryption is active.- Overrides:
isASCIIFilter
in classPDFFilter
- Returns:
- boolean True if this filter is an ASCII filter
-
getDecodeParms
Get the decode params.- Specified by:
getDecodeParms
in classPDFFilter
- Returns:
- always null
-
applyFilter
Applies a filter to an OutputStream.- Specified by:
applyFilter
in classPDFFilter
- Parameters:
out
- contents to be filtered- Returns:
- OutputStream filtered contents
- Throws:
IOException
- In case of an I/O problem
-