|
||||||||||
| 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,
java.io.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(java.lang.Object x)
prints the given object to the streams. |
void |
print(java.lang.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(java.lang.Object x)
prints the given object to the streams (for Throwables we print the stack trace). |
void |
println(java.lang.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,
java.io.PrintStream stream)
throws java.lang.Exception
owner - the owning loggerstream - the stream
java.lang.Exception - if something goes wrong| Method Detail |
|---|
public void flush()
flush in interface java.io.Flushableflush in class java.io.PrintStreampublic void print(int x)
print in class java.io.PrintStreamx - the object to printpublic void print(boolean x)
print in class java.io.PrintStreamx - the object to printpublic void print(java.lang.String x)
print in class java.io.PrintStreamx - the object to printpublic void print(java.lang.Object x)
print in class java.io.PrintStreamx - the object to printpublic void println()
println in class java.io.PrintStreampublic void println(int x)
println in class java.io.PrintStreamx - the object to printpublic void println(boolean x)
println in class java.io.PrintStreamx - the object to printpublic void println(java.lang.String x)
println in class java.io.PrintStreamx - the object to printpublic void println(java.lang.Object x)
println in class java.io.PrintStreamx - the object to print
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||