code: public void print(String s) throws IOException {
  	    if (s == null) s = "null";
  	    if (writer != null) {
  	        writer.write(s);
  	    } else {
  	        write(s);
  	    }
      }
docs: Print a string.  If the argument is <code>null</code> then the string
  <code>"null"</code> is printed.  Otherwise, the string's characters are
  converted into bytes according to the platform's default character
  encoding, and these bytes are written in exactly the manner of the
  <code>{@link #write(int)}</code> method.
  
  @param s The <code>String</code> to be printed
  @throws IOException