NTriplesParser class
A simple line-based parser for N-Triples format. See https://www.w3.org/TR/n-triples/ for more info on N-Triples.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseFile(
String path, {dynamic onProgress(int current, int total)?, dynamic onLineParsed(NTriple nt)?, dynamic onParseError(String line, Object exception)?, dynamic onFinished()?, bool rethrowOnError = true, int startingIndex = 0}) → void - Parses a *.nt file, while reporting on progress.
-
parseLine(
String text) → NTriple - Parses a single line containing N-Triple.
-
parseLines(
Iterable< String> lines, {dynamic onProgress(int current, int total)?, dynamic onLineParsed(NTriple nt)?, dynamic onParseError(String line, Object exception)?, dynamic onFinished()?, bool rethrowOnError = true, int startingIndex = 0}) → void - Parses series of lines containing N-Triples, while reporting on the progress.