code: public void write(String s) throws IOException {
  	    if (writer != null) {
  	        writer.write(s);
  	    } else {
  	        write(s, 0, s.length());
  	    }
      }
docs: Write a string.  This method cannot be inherited from the Writer class
  because it must suppress I/O exceptions.