protected class LogWindow.LogWindowPrintStream extends PrintStream
Modifier and Type | Field and Description |
---|---|
protected LogWindow |
m_Parent
the parent
|
protected String |
m_Style
the style of the printstream
|
out
Constructor and Description |
---|
LogWindowPrintStream(LogWindow parent,
PrintStream stream,
String style)
the constructor
|
Modifier and Type | Method and Description |
---|---|
void |
flush()
flushes the printstream
|
void |
print(boolean x)
prints the given boolean
|
void |
print(int x)
prints the given int
|
void |
print(Object x)
prints the given object
|
void |
print(String x)
prints the given string
|
void |
println()
prints a new line
|
void |
println(boolean x)
prints the given boolean
|
void |
println(int x)
prints the given int
|
void |
println(Object x)
prints the given object (for Throwables we print the stack trace)
|
void |
println(String x)
prints the given string
|
append, append, append, checkError, clearError, close, format, format, print, print, print, print, print, printf, printf, println, println, println, println, println, setError, write, write
write
protected LogWindow m_Parent
protected String m_Style
public LogWindowPrintStream(LogWindow parent, PrintStream stream, String style)
parent
- the parent framestream
- the stream (used for constructor of superclass)style
- the style name associated with this outputpublic void flush()
flush
in interface Flushable
flush
in class PrintStream
public void print(int x)
print
in class PrintStream
public void print(boolean x)
print
in class PrintStream
public void print(String x)
print
in class PrintStream
public void print(Object x)
print
in class PrintStream
public void println()
println
in class PrintStream
public void println(int x)
println
in class PrintStream
public void println(boolean x)
println
in class PrintStream
public void println(String x)
println
in class PrintStream
public void println(Object x)
println
in class PrintStream
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.