Package com.orsonpdf.filter
Class FlateFilter
java.lang.Object
com.orsonpdf.filter.FlateFilter
- All Implemented Interfaces:
Filter
Encodes data using Flate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
encode
(byte[] source) Apply the encoding to the bytes insource
and return the encoded data in a new array.Returns the filter type.
-
Constructor Details
-
FlateFilter
public FlateFilter()Default constructor.
-
-
Method Details
-
getFilterType
Returns the filter type.- Specified by:
getFilterType
in interfaceFilter
- Returns:
FilterType.FLATE
-
encode
public byte[] encode(byte[] source) Description copied from interface:Filter
Apply the encoding to the bytes insource
and return the encoded data in a new array.
-