code: private boolean tryRead(char delim) throws SAXException, IOException {
          char c;
  
          // Read the character
          c = readCh();
  
          // Test for a match, and push the character
          // back if the match fails.
          if (c == delim) {
              return true;
          } else {
              unread(c);
              return false;
          }
      }
docs: Return true if we can read the expected character.
  <p>
  Note that the character will be removed from the input stream on success,
  but will be put back on failure. Do not attempt to read the character
  again if the method succeeds.
  
  @param delim
  The character that should appear next. For a insensitive
  match, you must supply this in upper-case.
  @return true if the character was successfully read, or false if it was
  not.
  @see #tryRead (String)