|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.priv.garshol.duke.utils.NTriplesParser
public class NTriplesParser
A basic NTriples parser used by NTriplesDataSource.
| Constructor Summary | |
|---|---|
NTriplesParser(StatementHandler handler)
Alternate entry point to the parser for when the driving loop is outside the parser. |
|
| Method Summary | |
|---|---|
static void |
parse(Reader src,
StatementHandler handler)
Reads the NTriples file from the reader, pushing statements into the handler. |
void |
parseLine(String line)
Push a line into the parser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NTriplesParser(StatementHandler handler)
| Method Detail |
|---|
public static void parse(Reader src,
StatementHandler handler)
throws IOException
IOExceptionpublic void parseLine(String line)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||