Interface Filter

  • All Known Implementing Classes:
    ASCII85Filter, FlateFilter

    public interface Filter
    A filter that can be used to encode stream data in PDF output.
    • Method Detail

      • getFilterType

        FilterType getFilterType()
        Returns the filter type.
        Returns:
        The filter type (never null).
      • encode

        byte[] encode​(byte[] source)
        Apply the encoding to the bytes in source and return the encoded data in a new array.
        Parameters:
        source - the source (null not permitted).
        Returns:
        The encoded bytes.