Package org.apache.fop.pdf
Class ASCIIHexFilter
- java.lang.Object
-
- org.apache.fop.pdf.PDFFilter
-
- org.apache.fop.pdf.ASCIIHexFilter
-
public class ASCIIHexFilter extends PDFFilter
ASCII Hex filter for PDF streams. This filter converts a pdf stream to ASCII hex data.
-
-
Constructor Summary
Constructors Constructor Description ASCIIHexFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.OutputStreamapplyFilter(java.io.OutputStream out)Applies a filter to an OutputStream.PDFObjectgetDecodeParms()Get the decode params.java.lang.StringgetName()Get the name of this filter.booleanisASCIIFilter()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
-
-
-
-
Method Detail
-
getName
public java.lang.String 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:
isASCIIFilterin classPDFFilter- Returns:
- boolean True if this filter is an ASCII filter
-
getDecodeParms
public PDFObject getDecodeParms()
Get the decode params.- Specified by:
getDecodeParmsin classPDFFilter- Returns:
- always null
-
applyFilter
public java.io.OutputStream applyFilter(java.io.OutputStream out) throws java.io.IOExceptionApplies a filter to an OutputStream.- Specified by:
applyFilterin classPDFFilter- Parameters:
out- contents to be filtered- Returns:
- OutputStream filtered contents
- Throws:
java.io.IOException- In case of an I/O problem
-
-