| java.lang.Object java.io.OutputStream java.io.PrintStream util.BufferedPrintStream
BufferedPrintStream | public class BufferedPrintStream extends PrintStream (Code) | | Like PrintStream, but does its own
buffering. This mashing of abstraction layers
saves many a methodcall.
NOTE the lack of synchronization!
Also note the lack of autoflush.
Finally, note especially troublesome solution we use in determining
when to flush buffers. This relies on relative speed of dealing
with a Java exception and the size of the buffer, thus infrequency
of its occurrence.
|
curindex | protected int curindex(Code) | | |
errorOccured | protected boolean errorOccured(Code) | | |
checkException | public boolean checkException()(Code) | | |
close | public void close()(Code) | | |
flush | public void flush()(Code) | | |
flushit | protected void flushit()(Code) | | |
print | public void print(boolean b)(Code) | | |
print | public void print(char c)(Code) | | |
print | public void print(char s)(Code) | | |
print | public void print(int i)(Code) | | |
print | public void print(long l)(Code) | | |
println | public void println(boolean b)(Code) | | |
println | public void println(char c)(Code) | | |
println | public void println(char s)(Code) | | |
println | public void println(int i)(Code) | | |
println | public void println(long l)(Code) | | |
println | public void println()(Code) | | |
write | public void write(int b)(Code) | | |
write | public void write(byte b, int off, int len)(Code) | | |
|
|