java.io.OutputStream
java.io.OutputStream is an abstract class on which all implementations of output stream are based.
Hints
In most cases, you will not see significant overhead in this class. If you do, try to determine whether the output stream that you are using is buffered or not.
Switching from a non-buffered to a buffered output stream may improve performance. For example, if you are using a FileOututStream object to write data to a file, try using a BufferedOutputStream object instead. If your application is writing a large amount of data, you should see a significant performance improvement.
Related Topics: