public void write ( boolean bytesOK , byte buf [ ] , String str ) throws IOException { ensureOpen ( ) ; if ( bufferSize == 0 && bytesOK ) { initByteOut ( ) ; if ( implementsByteWriter ) { write ( buf , 0 , buf . length ) ; return ; } } write ( str ) ; }
Attempt to write a String pre - encoded with the page encoding .