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 Summary
Modifier and TypeMethodDescriptionbyte[]encode(byte[] source) Apply the encoding to the bytes insourceand return the encoded data in a new array.Returns the filter type.
-
Method Details
-
getFilterType
-
encode
byte[] encode(byte[] source) Apply the encoding to the bytes insourceand return the encoded data in a new array.- Parameters:
source- the source (nullnot permitted).- Returns:
- The encoded bytes.
-