org.milyn.edisax
Interface BufferedSegmentListener


public interface BufferedSegmentListener

Buffered Segment listener.

Implementations of this interface can control when and how the BufferedSegmentReader.moveToNextSegment() method returns true (segment exists) or false (segment does not exist).

Author:
tom.fennelly@gmail.com

Method Summary
 boolean onSegment(BufferedSegmentReader bufferedSegmentReader)
          Notify the listener of a new segment.
 

Method Detail

onSegment

boolean onSegment(BufferedSegmentReader bufferedSegmentReader)
Notify the listener of a new segment.

Parameters:
bufferedSegmentReader - The segment reader.
Returns:
True if the BufferedSegmentReader is to tell the caller of the BufferedSegmentReader.moveToNextSegment() method whether or not the segment exists.


Copyright © 2011. All Rights Reserved.