Class TriGTokeniser
Tokeniser for TriG (Turtle with Named Graphs) RDF Syntax.
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRdf.dll
Syntax
public class TriGTokeniser : BaseTokeniser, ITokeniser
Constructors
| Edit this page View SourceTriGTokeniser(StreamReader)
Creates a new TriG Tokeniser which reads Tokens from the given Stream.
Declaration
public TriGTokeniser(StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
StreamReader | input | Stream to read Tokens from. |
TriGTokeniser(StreamReader, TriGSyntax)
Creates a new TriG Tokeniser which reads Tokens from the given Stream using the specified syntax.
Declaration
public TriGTokeniser(StreamReader input, TriGSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
StreamReader | input | Stream to read Tokens from. |
TriGSyntax | syntax | Syntax. |
TriGTokeniser(TextReader)
Creates a new TriG Tokeniser which reads Tokens from the given Input.
Declaration
public TriGTokeniser(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
TextReader | input | Input to read Tokens from. |
TriGTokeniser(TextReader, TriGSyntax)
Creates a new TriG Tokeniser which reads Tokens from the given Input.
Declaration
public TriGTokeniser(TextReader input, TriGSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
TextReader | input | Input to read Tokens from. |
TriGSyntax | syntax | Syntax. |
TriGTokeniser(ParsingTextReader)
Creates a new TriG Tokeniser which reads Tokens from the given Stream.
Declaration
public TriGTokeniser(ParsingTextReader input)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | Stream to read Tokens from. |
TriGTokeniser(ParsingTextReader, TriGSyntax)
Creates a new TriG Tokeniser which reads Tokens from the given Stream.
Declaration
public TriGTokeniser(ParsingTextReader input, TriGSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | Stream to read Tokens from. |
TriGSyntax | syntax | Syntax. |
Methods
| Edit this page View SourceGetNextToken()
Gets the next available Token from the Input Stream.
Declaration
public override IToken GetNextToken()
Returns
Type | Description |
---|---|
IToken |