Class ReusableStringReader
Internal class to enable reuse of the string reader by GetTokenStream(String, String)
Inheritance
System.Object
System.MarshalByRefObject
System.IO.TextReader
ReusableStringReader
Implements
System.IDisposable
Inherited Members
System.IO.TextReader.Null
System.IO.TextReader.Close()
System.IO.TextReader.Dispose()
System.IO.TextReader.Peek()
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.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: Lucene.Net.Analysis
Assembly: Lucene.Net.dll
Syntax
public sealed class ReusableStringReader : TextReader, IDisposable
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
System.IO.TextReader.Dispose(System.Boolean)
|
Improve this Doc
View Source
Read()
Declaration
public override int Read()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.IO.TextReader.Read()
|
Improve this Doc
View Source
Read(Char[], Int32, Int32)
Declaration
public override int Read(char[] c, int off, int len)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | c | |
System.Int32 | off | |
System.Int32 | len |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.IO.TextReader.Read(System.Char[], System.Int32, System.Int32)
|
Improve this Doc
View Source
ReadToEnd()
Declaration
public override string ReadToEnd()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.IO.TextReader.ReadToEnd()
Implements
System.IDisposable