| java.io.PrintStream org.objectweb.jonas.examples.util.JPrintStream
JPrintStream | public class JPrintStream extends PrintStream (Code) | | Allow to redirect the System.out stream or System.err
author: Florent Benoit |
JPrintStream | public JPrintStream(PrintStream printStream)(Code) | | Constructor. Build a new JPrintStream.
Parameters: printStream - stream to use |
getStringBuffer | public StringBuffer getStringBuffer()(Code) | | Return the buffer which is used
buffer which is used |
println | public void println(String x)(Code) | | Print to the stream and log it
Parameters: x - text to log |
println | public void println(Object x)(Code) | | Print to the stream and log it
Parameters: x - text to log |
remove | public void remove()(Code) | | Set the stream back
|
reset | public void reset()(Code) | | Remove all the information logged
|
Methods inherited from java.io.PrintStream | public PrintStream append(CharSequence csq)(Code)(Java Doc) public PrintStream append(CharSequence csq, int start, int end)(Code)(Java Doc) public PrintStream 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 PrintStream format(String format, Object... args)(Code)(Java Doc) public PrintStream 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 PrintStream printf(String format, Object... args)(Code)(Java Doc) public PrintStream 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 b)(Code)(Java Doc) public void write(byte buf, int off, int len)(Code)(Java Doc)
|
|
|