protected int assertLineTerminates(int c) throws IOException, RDFParseException {
  c=reader.read();
  c=skipWhitespace(c);
  if (c != -1 && c != '\r' && c != '\n') {
    reportFatalError("Content after '.' is not allowed");
  }
  return c;
}

protected int assertLineTerminates ( int c ) throws IOException , RDFParseException { c = reader . read ( ) ; c = skipWhitespace ( c ) ; if ( c != - 1 && c != '\r' && c != '\n' ) { reportFatalError ( "Content after '.' is not allowed" ) ; } return c ; }
verifies that there is only whitespace until the end of the line .
