Class ParsingTextReader
An extended System.IO.TextReader for use in parsing.
Inheritance
System.Object
System.MarshalByRefObject
System.IO.TextReader
ParsingTextReader
Implements
System.IDisposable
Inherited Members
System.IO.TextReader.Null
System.IO.TextReader.Close()
System.IO.TextReader.Dispose()
System.IO.TextReader.Dispose(System.Boolean)
System.IO.TextReader.Peek()
System.IO.TextReader.Read()
System.IO.TextReader.Read(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadAsync(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadBlock(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadBlockAsync(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadLine()
System.IO.TextReader.ReadLineAsync()
System.IO.TextReader.ReadToEnd()
System.IO.TextReader.ReadToEndAsync()
System.IO.TextReader.Synchronized(System.IO.TextReader)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
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
Assembly: dotNetRDF.dll
Syntax
public abstract class ParsingTextReader : TextReader, IDisposable
Properties
| Improve this Doc View SourceEndOfStream
Gets whether the end of the stream has been reached.
Declaration
public abstract bool EndOfStream { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCreate(Stream)
Creates a new Blocking Text Reader.
Declaration
public static ParsingTextReader Create(Stream input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | input | Input Stream. |
Returns
Type | Description |
---|---|
ParsingTextReader |
Create(Stream, Int32)
Creates a new Blocking Text Reader.
Declaration
public static ParsingTextReader Create(Stream input, int bufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | input | Input Stream. |
System.Int32 | bufferSize | Buffer Size. |
Returns
Type | Description |
---|---|
ParsingTextReader |
Create(TextReader)
Creates a new Blocking Text Reader.
Declaration
public static ParsingTextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Text Reader to wrap. |
Returns
Type | Description |
---|---|
ParsingTextReader |
Remarks
If the given System.IO.TextReader is already a Blocking Text Reader this is a no-op.
|
Improve this Doc
View Source
Create(TextReader, Int32)
Creates a new Blocking Text Reader.
Declaration
public static ParsingTextReader Create(TextReader input, int bufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Text Reader to wrap. |
System.Int32 | bufferSize | Buffer Size. |
Returns
Type | Description |
---|---|
ParsingTextReader |
Remarks
If the given System.IO.TextReader is already a Blocking Text Reader this is a no-op.
|
Improve this Doc
View Source
CreateBlocking(TextReader)
Creates a new Blocking Text Reader.
Declaration
public static BlockingTextReader CreateBlocking(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input reader. |
Returns
Type | Description |
---|---|
BlockingTextReader |
CreateBlocking(TextReader, Int32)
Creates a new Blocking Text Reader.
Declaration
public static BlockingTextReader CreateBlocking(TextReader input, int bufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input reader. |
System.Int32 | bufferSize | Buffer Size. |
Returns
Type | Description |
---|---|
BlockingTextReader |
CreateNonBlocking(TextReader)
Creates a new non-blocking Text Reader.
Declaration
public static NonBlockingTextReader CreateNonBlocking(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input reader. |
Returns
Type | Description |
---|---|
NonBlockingTextReader |
CreateNonBlocking(TextReader, Int32)
Creates a new non-blocking Text Reader.
Declaration
public static NonBlockingTextReader CreateNonBlocking(TextReader input, int bufferSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input reader. |
System.Int32 | bufferSize | Buffer Size. |
Returns
Type | Description |
---|---|
NonBlockingTextReader |
Implements
System.IDisposable