Package org.apache.fop.pdf
Class NullFilter
java.lang.Object
org.apache.fop.pdf.PDFFilter
org.apache.fop.pdf.NullFilter
Null Filter class. The content is just passed through. The class is used to
override the default Flate filter for debugging purposes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyFilter
(OutputStream out) Applies a filter to an OutputStream.return a parameter dictionary for this filter, or nullgetName()
return a PDF string representation of the filter, e.g.Methods inherited from class org.apache.fop.pdf.PDFFilter
isApplied, isASCIIFilter, setApplied
-
Constructor Details
-
NullFilter
public NullFilter()
-
-
Method Details
-
getName
return a PDF string representation of the filter, e.g. /FlateDecode -
getDecodeParms
return a parameter dictionary for this filter, or null- Specified by:
getDecodeParms
in classPDFFilter
- Returns:
- the decode params for the filter
-
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
-