qflib 0.99

de.qfs.lib.util
Interface StreamListener

All Superinterfaces:
java.util.EventListener

public interface StreamListener
extends java.util.EventListener

Interface for listeners to input from a Stream or Reader.

Since:
0.99.0
Author:
Gregor Schmid

Method Summary
 void inputClosed(StreamEvent event)
          Notify the listener that the input source was closed.
 void newInput(StreamEvent event)
          Notify the listener that new input has arrived.
 

Method Detail

newInput

public void newInput(StreamEvent event)
Notify the listener that new input has arrived.

Parameters:
event - The event containing the details.

inputClosed

public void inputClosed(StreamEvent event)
Notify the listener that the input source was closed.

Parameters:
event - The event containing the details.

qflib 0.99