|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jstatcom.component.SystemOutHolder
public final class SystemOutHolder
Simple implementation of the OutHolder
interface that
redirects output to log.info
in the append
method. This class can be used with PCall
objects in non
graphical console applications or in unit tests.
Constructor Summary | |
---|---|
SystemOutHolder()
|
Method Summary | |
---|---|
void |
append(java.lang.String out)
Redirects out to System.out . |
void |
clear()
Empty implementation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemOutHolder()
Method Detail |
---|
public void append(java.lang.String out)
out
to System.out
.
append
in interface OutHolder
out
- the string to appendpublic void clear()
clear
in interface OutHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |