public static class OutputLogger.OutputPrintStream extends PrintStream
| Constructor and Description |
|---|
OutputPrintStream(OutputLogger owner,
PrintStream stream)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
append, append, append, checkError, close, format, format, print, print, print, print, print, printf, printf, println, println, println, println, println, write, writewritepublic OutputPrintStream(OutputLogger owner, PrintStream stream) throws Exception
owner - the owning loggerstream - the streamException - if something goes wrongpublic 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 printCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.