code: public int peekChar() throws IOException {
  	
  	// load more characters, if needed
  	if (fCurrentEntity.position == fCurrentEntity.count) {
  	    load(0, true);
  	}
  	
  	// peek at character
  	int c = fCurrentEntity.ch[fCurrentEntity.position];
  
  	// return peeked character
  	if (fCurrentEntity.isExternal()) {
  	    return c != '\r' ? c : '\n';
  	}
  	else {
  	    return c;
  	}
  	
      }
docs: Returns the next character on the input.
  <p>
  <strong>Note:</strong> The character is <em>not</em> consumed.
  
  @throws IOException  Thrown if i/o error occurs.
  @throws EOFException Thrown on end of file.