org.jrdf.parser.ntriples
Class NTriplesParser
java.lang.Object
org.jrdf.parser.ntriples.NTriplesParser
- All Implemented Interfaces:
- LineHandler, StatementHandlerConfiguration
public class NTriplesParser
- extends Object
- implements LineHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NTriplesParser
public NTriplesParser(CommentsParser newCommentsParser,
TriplesParser newTriplesParser)
setStatementHandler
public void setStatementHandler(StatementHandler statementHandler)
- Description copied from interface:
StatementHandlerConfiguration
- Sets the StatementHandler that will be notified of statements that
are parsed by this parser.
- Specified by:
setStatementHandler in interface StatementHandlerConfiguration
- Parameters:
statementHandler - the StatementHandler.
handleLine
public void handleLine(CharSequence line)
throws StatementHandlerException
- Specified by:
handleLine in interface LineHandler
- Throws:
StatementHandlerException
clear
public void clear()
- Specified by:
clear in interface LineHandler