|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
weka.core.logging.OutputLogger.OutputPrintStream
public static class OutputLogger.OutputPrintStream
A print stream class to capture all data from stdout and stderr.
| Constructor Summary | |
|---|---|
OutputLogger.OutputPrintStream(OutputLogger owner,
PrintStream stream)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
flush()
ignored. |
void |
print(boolean x)
prints the given boolean to the streams. |
void |
print(int x)
prints the given int to the streams. |
void |
print(Object x)
prints the given object to the streams. |
void |
print(String x)
prints the given string to the streams. |
void |
println()
prints a new line to the streams. |
void |
println(boolean x)
prints the given boolean to the streams. |
void |
println(int x)
prints the given int to the streams. |
void |
println(Object x)
prints the given object to the streams (for Throwables we print the stack trace). |
void |
println(String x)
prints the given string to the streams. |
| Methods inherited from class java.io.PrintStream |
|---|
append, append, append, checkError, close, format, format, print, print, print, print, print, printf, printf, println, println, println, println, println, write, write |
| Methods inherited from class java.io.FilterOutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputLogger.OutputPrintStream(OutputLogger owner,
PrintStream stream)
throws Exception
owner - the owning loggerstream - the stream
Exception - if something goes wrong| Method Detail |
|---|
public void flush()
flush in interface Flushableflush in class PrintStreampublic void print(int x)
print in class PrintStreamx - the object to printpublic void print(boolean x)
print in class PrintStreamx - the object to printpublic void print(String x)
print in class PrintStreamx - the object to printpublic void print(Object x)
print in class PrintStreamx - the object to printpublic void println()
println in class PrintStreampublic void println(int x)
println in class PrintStreamx - the object to printpublic void println(boolean x)
println in class PrintStreamx - the object to printpublic void println(String x)
println in class PrintStreamx - the object to printpublic void println(Object x)
println in class PrintStreamx - the object to print
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||