Package com.day.cq.dam.commons.handler
Interface FilterStateListener
-
- All Known Implementing Classes:
XapThumbnailsProcessor,XMPProcessor
public interface FilterStateListenerNotification listener that gets invoked when a filter detects start and end markers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidended(Filter filter, java.io.OutputStream out)Invoked when the filter detects the end of a section.java.io.OutputStreamstarted(Filter filter)Invoked when the filter detects the start of a section it understands.
-
-
-
Method Detail
-
started
java.io.OutputStream started(Filter filter)
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
void ended(Filter filter, java.io.OutputStream out)
Invoked when the filter detects the end of a section.- Parameters:
filter- filterout- output stream returned fromstarted(Filter)ornull
-
-