/// <summary> /// Creates a new Instance of the Tokeniser /// </summary> /// <param name="input">The Input Stream to generate Tokens from</param> /// <param name="syntax">Syntax Mode to use when parsing</param> public SparqlTokeniser(BlockingTextReader input, SparqlQuerySyntax syntax) : base(input) { this._in = input; this.Format = "SPARQL"; this._syntax = syntax; }
/// <summary> /// Creates a new NTriples Tokeniser which reads Tokens from the given Stream /// </summary> /// <param name="input">Stream to read Tokens from</param> public NTriplesTokeniser(BlockingTextReader input) : base(input) { this._in = input; this.Format = "NTriples"; }
/// <summary> /// Creates a new Instance of the Tokeniser /// </summary> /// <param name="input">The Input Stream to generate Tokens from</param> public Notation3Tokeniser(BlockingTextReader input) : base(input) { this._in = input; this.Format = "Notation 3"; }
/// <summary> /// Creates a new CSV Tokeniser /// </summary> /// <param name="reader">Text Reader</param> public CsvTokeniser(BlockingTextReader reader) : base(reader) { this._in = reader; }
/// <summary> /// Creates a new TriG Tokeniser which reads Tokens from the given Stream /// </summary> /// <param name="input">Stream to read Tokens from</param> public TriGTokeniser(BlockingTextReader input) : base(input) { this._in = input; this.Format = "TriG"; }
/// <summary> /// Creates a new NTriples Tokeniser which reads Tokens from the given Input /// </summary> /// <param name="input">Input to read Tokens from</param> public NTriplesTokeniser(TextReader input) : this(BlockingTextReader.Create(input)) { }
/// <summary> /// Creates a new Turtle Tokeniser /// </summary> /// <param name="input">The Input Stream to generate Tokens from</param> public TurtleTokeniser(BlockingTextReader input) : base(input) { this._in = input; this.Format = "Turtle"; }
/// <summary> /// Creates a new TriG Tokeniser which reads Tokens from the given Stream /// </summary> /// <param name="input">Stream to read Tokens from</param> public TriGTokeniser(BlockingTextReader input) : base(input) { this._in = input; this.Format = "TriG"; }
/// <summary> /// Creates a new NTriples Tokeniser which reads Tokens from the given Stream /// </summary> /// <param name="input">Stream to read Tokens from</param> public NTriplesTokeniser(BlockingTextReader input) : base(input) { this._in = input; this.Format = "NTriples"; }
/// <summary> /// Creates a new TSV Tokeniser /// </summary> /// <param name="reader">Text Reader</param> public TsvTokeniser(BlockingTextReader reader) : base(reader) { this._in = reader; }
/// <summary> /// Creates a new Turtle Tokeniser /// </summary> /// <param name="input">The Input Stream to generate Tokens from</param> public TurtleTokeniser(BlockingTextReader input) : this(input, TurtleSyntax.W3C) { }
/// <summary> /// Creates a new Turtle Tokeniser /// </summary> /// <param name="input">The Input Stream to generate Tokens from</param> /// <param name="syntax">Turtle Syntax</param> public TurtleTokeniser(BlockingTextReader input, TurtleSyntax syntax) : base(input) { this._in = input; this.Format = "Turtle"; this._syntax = syntax; }
/// <summary> /// Creates a new TriG Tokeniser which reads Tokens from the given Stream /// </summary> /// <param name="input">Stream to read Tokens from</param> public TriGTokeniser(StreamReader input) : this(BlockingTextReader.Create(input)) { }
/// <summary> /// Creates a new TSV Tokeniser /// </summary> /// <param name="reader">Stream Reader</param> public TsvTokeniser(StreamReader reader) : this(BlockingTextReader.Create(reader)) { }