| uk.org.ponder.streamutil.write.PrintOutputStream
All known Subclasses: uk.org.ponder.streamutil.write.PrintStreamPOS, uk.org.ponder.streamutil.write.WriterPOS, uk.org.ponder.streamutil.write.StringListPOS, uk.org.ponder.streamutil.write.POSMulticaster, uk.org.ponder.streamutil.write.StringPOS, uk.org.ponder.streamutil.write.OutputStreamPOS, uk.org.ponder.streamutil.write.DevNullPOS,
PrintOutputStream | public interface PrintOutputStream (Code) | | PrintOutputStream has a number of advantages over the Java (non-)interface
"Writer".
Firstly, it actually is an interface.
Secondly, it incurs no peculiar locking overheads in its operation.
Thirdly, its methods throw no checked exceptions.
There are a number of wrappers for various kinds of targets, for example
standard Writers, PrintStreams, StringList and standard String. There is
also a POSMulticaster for forking output to multiple streams. Note that
at the pre-1.5 level, StringWriter not only includes the sync overhead of the
Writer, but also the StringBuffer it constructs.
author: Bosmon |
close | public void close()(Code) | | |
flush | public void flush()(Code) | | |
println | public void println()(Code) | | |
write | public void write(char[] storage, int offset, int size)(Code) | | |
|
|