question: static String read ( IXMLReader reader , char entityChar ) throws IOException , XMLParseException { char ch = reader . read ( ) ; StringBuffer buf = new StringBuffer ( ) ; buf . append ( ch ) ; if ( ch == entityChar ) { while ( ch != ';' ) { ch = reader . read ( ) ; buf . append ( ch ) ; } } return buf . toString ( ) ; }
target:  Reads a character from the reader.