Click or drag to resize

NTriplesParser Class

Parser for NTriples syntax.
Inheritance Hierarchy
SystemObject
  VDS.RDF.ParsingNTriplesParser

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class NTriplesParser : IRdfReader, 
	ITraceableParser, ITraceableTokeniser, ITokenisingParser

The NTriplesParser type exposes the following members.

Constructors
  NameDescription
Public methodNTriplesParser
Creates a new instance of the parser.
Public methodNTriplesParser(NTriplesSyntax)
Creates a new instance of the parser.
Public methodNTriplesParser(TokenQueueMode)
Creates a new instance of the parser using the given token queue mode.
Public methodNTriplesParser(NTriplesSyntax, TokenQueueMode)
Creates a new instance of the parser using the given syntax and token queue mode.
Top
Properties
  NameDescription
Public propertySyntax
Gets/Sets the desired NTriples syntax.
Public propertyTokenQueueMode
Gets/Sets the token queue mode used.
Public propertyTraceParsing
Controls whether Parser progress will be traced by writing output to the Console.
Public propertyTraceTokeniser
Controls whether Tokeniser progress will be traced by writing output to the Console.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(IGraph, StreamReader)
Parses NTriples Syntax from the given Input Stream into Triples in the given Graph.
Public methodLoad(IGraph, TextReader)
Parses NTriples Syntax from the given Input into Triples in the given Graph.
Public methodLoad(IGraph, String)
Parses NTriples Syntax from the given File into Triples in the given Graph.
Public methodLoad(IRdfHandler, StreamReader)
Parses NTriples Syntax from the given Input Stream using a RDF Handler.
Public methodLoad(IRdfHandler, TextReader)
Parses NTriples Syntax from the given Input using a RDF Handler.
Public methodLoad(IRdfHandler, String)
Parses NTriples Syntax from the given file using a RDF Handler.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the String representation of the Parser which is a description of the syntax it parses.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventWarning
Event which is raised when there is a non-fatal issue with the NTriples being parsed
Top
Thread Safety
Designed to be Thread Safe - should be able to call Load from multiple threads on different Graphs without issue.
See Also