Was this page helpful?

TrimmingStringReader Class

    Table of contents
    1. 1. Members
      1. 1.1. Constructors
      2. 1.2. Methods
    Table of Contents
    public class TrimmingStringReader
    Namespace: MindTouch.IO
    Assembly: mindtouch.dream
    Type Hierarchy:
    • object
      • MarshalByRefObject
        • TextReader
          • TrimmingStringReader
    Implements:
    • IDisposable
    Provides a System.IO.TextReader that automatically trims leading and trailing waitspace as it reads.

    Members

    Constructors

    Visibility Description
    Public TrimmingStringReader(string text) Create a new text reader.

    Methods

    Visibility Description
    Protected Dispose(bool disposing) (Override) Override of TextReader.Dispose(bool disposing) that also clears out internal string storage.
    Public Peek() (Override) Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the input stream.
    Public Read() (Override) Reads the next character from the input stream and advances the character position by one character.
    Public Read(Char[] buffer, int index, int count) (Override) Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
    Public ReadLine() (Override) Reads a line of characters from the current stream and returns the data as a string.
    Public ReadToEnd() (Override) Reads all characters from the current position to the end of the TextReader and returns them as one string.
    Public Close() (Inherited from TextReader)
    Public Dispose() (Inherited from TextReader)
    Public ReadBlock(out Char[] buffer, int index, int count) (Inherited from TextReader)
    Protected MemberwiseClone(bool cloneIdentity) (Inherited from MarshalByRefObject)
    Public GetLifetimeService() (Inherited from MarshalByRefObject)
    Public InitializeLifetimeService() (Inherited from MarshalByRefObject)
    Public CreateObjRef(Type requestedType) (Inherited from MarshalByRefObject)
    Public ToString() (Inherited from Object)
    Public Equals(object obj) (Inherited from Object)
    Public GetHashCode() (Inherited from Object)
    Public GetType() (Inherited from Object)
    Protected MemberwiseClone() (Inherited from Object)
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by