Class NullFilter

java.lang.Object
org.apache.fop.pdf.PDFFilter
org.apache.fop.pdf.NullFilter
Direct Known Subclasses:
CCFFilter, DCTFilter

public class NullFilter extends PDFFilter
Null Filter class. The content is just passed through. The class is used to override the default Flate filter for debugging purposes.
  • Constructor Details

    • NullFilter

      public NullFilter()
  • Method Details

    • getName

      public String getName()
      return a PDF string representation of the filter, e.g. /FlateDecode
      Specified by:
      getName in class PDFFilter
      Returns:
      the filter PDF name
    • getDecodeParms

      public PDFObject getDecodeParms()
      return a parameter dictionary for this filter, or null
      Specified by:
      getDecodeParms in class PDFFilter
      Returns:
      the decode params for the filter
    • applyFilter

      public OutputStream applyFilter(OutputStream out) throws IOException
      Applies a filter to an OutputStream.
      Specified by:
      applyFilter in class PDFFilter
      Parameters:
      out - contents to be filtered
      Returns:
      OutputStream filtered contents
      Throws:
      IOException - In case of an I/O problem