Class FlateFilter

java.lang.Object
org.jfree.pdf.filter.FlateFilter
All Implemented Interfaces:
Filter

public class FlateFilter extends Object implements Filter
Encodes data using Flate.
  • Constructor Details

    • FlateFilter

      public FlateFilter()
      Default constructor.
  • Method Details

    • getFilterType

      public FilterType getFilterType()
      Returns the filter type.
      Specified by:
      getFilterType in interface Filter
      Returns:
      FilterType.FLATE
    • encode

      public byte[] encode(byte[] source)
      Description copied from interface: Filter
      Apply the encoding to the bytes in source and return the encoded data in a new array.
      Specified by:
      encode in interface Filter
      Parameters:
      source - the source (null not permitted).
      Returns:
      The encoded bytes.