Class FlateFilter

  • All Implemented Interfaces:
    Filter

    public class FlateFilter
    extends java.lang.Object
    implements Filter
    Encodes data using Flate.
    • Constructor Summary

      Constructors 
      Constructor Description
      FlateFilter()
      Default constructor.
    • 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

      • FlateFilter

        public FlateFilter()
        Default constructor.
    • 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.