Aspects


vs


Bufferedwriter

Java class for writing text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.

Fileoutputstream

FileOutputStream is a Java class used to write bytes directly to a File or to a FileDescriptor.

Others

Quality Example
Even worse

"For a few bytes passed in just one call probably the bufferedwriter is even worse because it problably later calls fileoutputstream"

from question "In Java, what is the advantage of using BufferedWriter to append to a file?"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0