Class ASCII85Filter

  • All Implemented Interfaces:
    Filter

    public class ASCII85Filter
    extends java.lang.Object
    implements Filter
    A filter that can encode in ASCII-85 format.
    • Constructor Summary

      Constructors 
      Constructor Description
      ASCII85Filter()
      Default contructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] encode​(byte[] source)
      Apply the encoding to the bytes in source and return the encoded data in a new array.
      FilterType getFilterType()
      Returns the filter type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ASCII85Filter

        public ASCII85Filter()
        Default contructor.
    • Method Detail

      • 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.