|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.common.DefaultStreamGobblerCallback
public class DefaultStreamGobblerCallback
The default callback for the stream gobbler, that logs all the messages to a particular logging level. By default all the messages are logged onto the DEBUG level.
| Field Summary | |
|---|---|
private int |
mLevel
The level on which the messages are to be logged. |
private LogManager |
mLogger
The instance to the logger to log messages. |
| Constructor Summary | |
|---|---|
DefaultStreamGobblerCallback(int level)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
void |
work(String line)
Callback whenever a line is read from the stream by the StreamGobbler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int mLevel
private LogManager mLogger
| Constructor Detail |
|---|
public DefaultStreamGobblerCallback(int level)
level - the level on which to log.| Method Detail |
|---|
public void work(String line)
work in interface StreamGobblerCallbackline - the line that is read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||