write
Writes a single character.
Throws
If an I/O error occurs
Writes a portion of an array of characters.
Ordinarily this method stores characters from the given array into this stream's buffer, flushing the buffer to the underlying stream as needed. If the requested length is at least as large as the buffer, however, then this method will flush the buffer and write the characters directly to the underlying stream. Thus redundant BufferedWriters will not copy data unnecessarily.
Parameters
A character array
Offset from which to start reading characters
Number of characters to write
Throws
If off is negative, or len is negative, or off + len is negative or greater than the length of the given array
If an I/O error occurs
Writes a portion of a String.
Parameters
String to be written
Offset from which to start reading characters
Number of characters to be written
Throws
If off is negative, or off + len is greater than the length of the given string
If an I/O error occurs