protected String parseLongString(int closingCharacter) throws IOException, RDFParseException {
  StringBuilder sb=getBuilder();
  int doubleQuoteCount=0;
  int c;
  while (doubleQuoteCount < 3) {
    c=readCodePoint();
    if (c == -1) {
      throwEOFException();
    }
 else     if (c == closingCharacter) {
      doubleQuoteCount++;
    }
 else {
      doubleQuoteCount=0;
    }
    appendCodepoint(sb,c);
    if (c == '\\') {
      c=readCodePoint();
      if (c == -1) {
        throwEOFException();
      }
      appendCodepoint(sb,c);
    }
  }
  return sb.substring(0,sb.length() - 3);
}

protected String parseLongString ( int closingCharacter ) throws IOException , RDFParseException { StringBuilder sb = getBuilder ( ) ; int doubleQuoteCount = 0 ; int c ; while ( doubleQuoteCount < 3 ) { c = readCodePoint ( ) ; if ( c == - 1 ) { throwEOFException ( ) ; } else if ( c == closingCharacter ) { doubleQuoteCount ++ ; } else { doubleQuoteCount = 0 ; } appendCodepoint ( sb , c ) ; if ( c == '\\' ) { c = readCodePoint ( ) ; if ( c == - 1 ) { throwEOFException ( ) ; } appendCodepoint ( sb , c ) ; } } return sb . substring ( 0 , sb . length ( ) - 3 ) ; }
parses a " " " long string " " " . this method requires that the first three characters have already been parsed .
