| java.lang.Object java.io.Writer java.io.PrintWriter org.directwebremoting.util.DebuggingPrintWriter
DebuggingPrintWriter | public class DebuggingPrintWriter extends PrintWriter (Code) | | A PrintWriter that also sends its output to a log stream
author: Joe Walker [joe at getahead dot ltd dot uk] |
buffer | final protected StringBuffer buffer(Code) | | A buffer where we store stuff before a newline
|
DebuggingPrintWriter | public DebuggingPrintWriter(String prefix, Writer out)(Code) | | Create a new PrintWriter, without automatic line flushing.
Parameters: prefix - A tag to prefix lines with for debugging purposes Parameters: out - A character-output stream |
DebuggingPrintWriter | public DebuggingPrintWriter(String prefix, Writer out, boolean autoFlush)(Code) | | Create a new PrintWriter.
Parameters: prefix - A tag to prefix lines with for debugging purposes Parameters: out - A character-output stream Parameters: autoFlush - A boolean; if true, the println() methods will flush the output buffer |
DebuggingPrintWriter | public DebuggingPrintWriter(String prefix, OutputStream out)(Code) | | Create a new PrintWriter, without automatic line flushing, from an
existing OutputStream. This convenience constructor creates the
necessary intermediate OutputStreamWriter, which will convert characters
into bytes using the default character encoding.
Parameters: prefix - A tag to prefix lines with for debugging purposes Parameters: out - An output stream See Also: java.io.OutputStreamWriter.OutputStreamWriter(java.io.OutputStream) |
DebuggingPrintWriter | public DebuggingPrintWriter(String prefix, OutputStream out, boolean autoFlush)(Code) | | Create a new PrintWriter from an existing OutputStream. This convenience
constructor creates the necessary intermediate OutputStreamWriter, which
will convert characters into bytes using the default character encoding.
Parameters: prefix - A tag to prefix lines with for debugging purposes Parameters: out - An output stream Parameters: autoFlush - A boolean; if true, the println() methods will flush the output buffer See Also: java.io.OutputStreamWriter.OutputStreamWriter(java.io.OutputStream) |
getPrefix | public String getPrefix()(Code) | | How to we prefix all the debugging lines?
the prefix |
print | public void print(boolean x)(Code) | | |
print | public void print(char x)(Code) | | |
print | public void print(int x)(Code) | | |
print | public void print(long x)(Code) | | |
print | public void print(float x)(Code) | | |
print | public void print(double x)(Code) | | |
print | public void print(char[] x)(Code) | | |
println | public void println()(Code) | | |
println | public void println(boolean x)(Code) | | |
println | public void println(char x)(Code) | | |
println | public void println(int x)(Code) | | |
println | public void println(long x)(Code) | | |
println | public void println(float x)(Code) | | |
println | public void println(double x)(Code) | | |
println | public void println(char[] x)(Code) | | |
setPrefix | public void setPrefix(String prefix)(Code) | | How to we prefix all the debugging lines?
Parameters: prefix - the prefix to set |
Methods inherited from java.io.PrintWriter | public PrintWriter append(CharSequence csq)(Code)(Java Doc) public PrintWriter append(CharSequence csq, int start, int end)(Code)(Java Doc) public PrintWriter append(char c)(Code)(Java Doc) public boolean checkError()(Code)(Java Doc) protected void clearError()(Code)(Java Doc) public void close()(Code)(Java Doc) public void flush()(Code)(Java Doc) public PrintWriter format(String format, Object... args)(Code)(Java Doc) public PrintWriter format(Locale l, String format, Object... args)(Code)(Java Doc) public void print(boolean b)(Code)(Java Doc) public void print(char c)(Code)(Java Doc) public void print(int i)(Code)(Java Doc) public void print(long l)(Code)(Java Doc) public void print(float f)(Code)(Java Doc) public void print(double d)(Code)(Java Doc) public void print(char s)(Code)(Java Doc) public void print(String s)(Code)(Java Doc) public void print(Object obj)(Code)(Java Doc) public PrintWriter printf(String format, Object... args)(Code)(Java Doc) public PrintWriter printf(Locale l, String format, Object... args)(Code)(Java Doc) public void println()(Code)(Java Doc) public void println(boolean x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(int x)(Code)(Java Doc) public void println(long x)(Code)(Java Doc) public void println(float x)(Code)(Java Doc) public void println(double x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(String x)(Code)(Java Doc) public void println(Object x)(Code)(Java Doc) protected void setError()(Code)(Java Doc) public void write(int c)(Code)(Java Doc) public void write(char buf, int off, int len)(Code)(Java Doc) public void write(char buf)(Code)(Java Doc) public void write(String s, int off, int len)(Code)(Java Doc) public void write(String s)(Code)(Java Doc)
|
|
|