public void write(int c) throws java.io.IOException {
  write(new String(new char[]{(char)c}));
}

public void write ( int c ) throws java . io . IOException { write ( new String ( new char [ ] { ( char ) c } ) ) ; }
write a single character .
