@Override public void write(String str){
synchronized (lock) {
    try {
      appendLocked(str,0,str.length());
    }
 catch (    IOException e) {
    }
  }
}

@ Override public void write ( String str ) { synchronized ( lock ) { try { appendLocked ( str , 0 , str . length ( ) ) ; } catch ( IOException e ) { } } }
writes the characters from the specified string to the target .
