public void write(String s) throws IOException {
  write(s,0,(s != null) ? s.length() : 0);
}

public void write ( String s ) throws IOException { write ( s , 0 , ( s != null ) ? s . length ( ) : 0 ) ; }
write a string . this method cannot be inherited from the writer class because it must suppress i / o exceptions .
