code: public void write(char[] buf) throws IOException {
  	    if (writer != null) {
  	        writer.write(buf);
  	    } else {
  	        write(buf, 0, buf.length);
  	    }
      }
docs: Write an array of characters.  This method cannot be inherited from the
  Writer class because it must suppress I/O exceptions.