com.norconex.commons.lang.io
Interface IStreamListener


public interface IStreamListener

Listener that is being notified every time a line is processed from a given stream.

Author:
Pascal Essiembre
See Also:
StreamGobbler

Method Summary
 void lineStreamed(String type, String line)
          Invoked when a line is streamed.
 

Method Detail

lineStreamed

void lineStreamed(String type,
                  String line)
Invoked when a line is streamed.

Parameters:
type - type of line, as defined by the class using the listener
line - line processed


Copyright © 2008-2013 Norconex Inc.. All Rights Reserved.