01: package org.griphyn.cPlanner.common;
02:
03: /**
04: * This interface defines the callback calls that are called from within the
05: * StreamGobbler while working on a stream.
06: *
07: * @author Karan Vahi
08: * @version $Revision: 50 $
09: */
10: public interface StreamGobblerCallback {
11:
12: /**
13: * Callback whenever a line is read from the stream by the StreamGobbler.
14: *
15: * @param line the line that is read.
16: */
17: public void work(String line);
18:
19: }
|