public void write (int c) throws IOException

Writes a single character. The character to be written is contained in the 16 low-order bits of the given integer value; the 16 high-order bits are ignored.

Subclasses that intend to support efficient single-character output should override this method.

Parameters:
c     int specifying a character to be written

Exceptions:
IOException     If an I/O error occurs