Package com.day.cq.dam.commons.handler
Interface FilterStateListener
- All Known Implementing Classes:
XapThumbnailsProcessor,XMPProcessor
public interface FilterStateListener
Notification listener that gets invoked when a filter detects start
and end markers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidended(Filter filter, OutputStream out) Invoked when the filter detects the end of a section.Invoked when the filter detects the start of a section it understands.
-
Method Details
-
started
Invoked when the filter detects the start of a section it understands.- Parameters:
filter- filter- Returns:
- output stream, if the listener wants to have the consecutive
bytes automatically written to some location or
null
-
ended
Invoked when the filter detects the end of a section.- Parameters:
filter- filterout- output stream returned fromstarted(Filter)ornull
-