private boolean readFragment(){
  _currentUrlMarker.setIndex(UrlPart.FRAGMENT,_buffer.length() - 1);
  while (!_reader.eof()) {
    char curr=_reader.read();
    if (curr == ' ' || checkMatchingCharacter(curr) != CharacterMatch.CharacterNotMatched) {
      return readEnd(ReadEndState.ValidUrl);
    }
 else {
      _buffer.append(curr);
    }
  }
  return readEnd(ReadEndState.ValidUrl);
}

private boolean readFragment ( ) { _currentUrlMarker . setIndex ( UrlPart . FRAGMENT , _buffer . length ( ) - 1 ) ; while ( ! _reader . eof ( ) ) { char curr = _reader . read ( ) ; if ( curr == ' ' || checkMatchingCharacter ( curr ) != CharacterMatch . CharacterNotMatched ) { return readEnd ( ReadEndState . ValidUrl ) ; } else { _buffer . append ( curr ) ; } } return readEnd ( ReadEndState . ValidUrl ) ; }
reads the fragments which is the part of the url starting with #
