write
Writes a single character.
Throws
IOException
If an I/O error occurs
Writes a portion of an array of characters.
Parameters
cbuf
Buffer of characters
off
Offset from which to start writing characters
len
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
IOException
If an I/O error occurs
Writes a portion of a string.
Parameters
str
A String
off
Offset from which to start writing characters
len
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 string
IOException
If an I/O error occurs