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.

Author:
dpfister

Method Summary
 void ended(Filter filter, OutputStream out)
          Invoked when the filter detects the end of a section.
 OutputStream started(Filter filter)
          Invoked when the filter detects the start of a section it understands.
 

Method Detail

started

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,
           OutputStream out)
Invoked when the filter detects the end of a section.

Parameters:
filter - filter
out - output stream returned from started(Filter) or null


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.