Interface CustomEncodeFilter
- All Superinterfaces:
CustomFilter
Declares the functionality needed for creating a custom encode filter.
-
Method Summary
Modifier and TypeMethodDescriptionencode(OutputStream dstStm, FilterParams filterParams) This method returns an output stream which is responsible for encoding all the bytes written to that stream in the future and also write those encoded bytes on the output stream passed here.updateFilterParams(FilterParams fParams) Updates the filterParams based on capability of the custom encode filterMethods inherited from interface com.adobe.internal.pdftoolkit.core.filter.spi.CustomFilter
getName
-
Method Details
-
encode
This method returns an output stream which is responsible for encoding all the bytes written to that stream in the future and also write those encoded bytes on the output stream passed here. All the parameters required while encoding are present in filterParams object.- Parameters:
dstStm-filterParams-- Returns:
- encoded bytes in an output stream.
- Throws:
CustomFilterException
-
updateFilterParams
Updates the filterParams based on capability of the custom encode filter- Parameters:
fParams-- Returns:
- upadated FilterParams
-