Class TurtleTokeniser
A Class for Reading an Input Stream and generating Turtle Tokens from it.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRDF.dll
Syntax
public class TurtleTokeniser : BaseTokeniser, ITokeniser
Constructors
| Improve this Doc View SourceTurtleTokeniser(StreamReader)
Creates a new Turtle Tokeniser.
Declaration
public TurtleTokeniser(StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.StreamReader | input | The Input Stream to generate Tokens from. |
TurtleTokeniser(StreamReader, TurtleSyntax)
Creates a new Turtle Tokeniser.
Declaration
public TurtleTokeniser(StreamReader input, TurtleSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
System.IO.StreamReader | input | The Input Stream to generate Tokens from. |
TurtleSyntax | syntax | Turtle Syntax. |
TurtleTokeniser(TextReader)
Creates a new Turtle Tokeniser.
Declaration
public TurtleTokeniser(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input to read from. |
TurtleTokeniser(TextReader, TurtleSyntax)
Creates a new Turtle Tokeniser.
Declaration
public TurtleTokeniser(TextReader input, TurtleSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input to read from. |
TurtleSyntax | syntax | Turtle Syntax. |
TurtleTokeniser(ParsingTextReader)
Creates a new Turtle Tokeniser.
Declaration
public TurtleTokeniser(ParsingTextReader input)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | The Input Stream to generate Tokens from. |
TurtleTokeniser(ParsingTextReader, TurtleSyntax)
Creates a new Turtle Tokeniser.
Declaration
public TurtleTokeniser(ParsingTextReader input, TurtleSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | The Input Stream to generate Tokens from. |
TurtleSyntax | syntax | Turtle Syntax. |
Methods
| Improve this Doc View SourceGetNextToken()
Gets the next parseable Token from the Input or raises an Error.
Declaration
public override IToken GetNextToken()
Returns
Type | Description |
---|---|
IToken |
Overrides
Exceptions
Type | Condition |
---|---|
RdfParseException | Occurs when a Token cannot be parsed. |