Interface ImageProcessor
-
@Deprecated public interface ImageProcessor
Deprecated.since 5.5.2Implement this interface to process images and to indicate if the image needs to be added or skipped.- Since:
- 5.0.6 (renamed)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
process(Image img, java.util.Map<java.lang.String,java.lang.String> attrs, ChainedProperties chain, DocListener doc)
Deprecated.Allows you to (pre)process the image before (or instead of) adding it to the DocListener with HTMLWorker.
-
-
-
Method Detail
-
process
boolean process(Image img, java.util.Map<java.lang.String,java.lang.String> attrs, ChainedProperties chain, DocListener doc)
Deprecated.Allows you to (pre)process the image before (or instead of) adding it to the DocListener with HTMLWorker.- Parameters:
img
- the Image objectattrs
- attributes of the imagechain
- hierarchy of attributesdoc
- the DocListener to which the Image needs to be added- Returns:
- false if you still want HTMLWorker to add the Image
-
-