C# Class indice.Edi.EdiTextReader

Inheritance: EdiReader, IEdiLineInfo
Afficher le fichier Open project: indice-co/EDI.Net

Méthodes publiques

Méthode Description
EdiTextReader ( TextReader reader, IEdiGrammar grammar ) : indice.Edi.Utilities
HasLineInfo ( ) : bool

Gets a value indicating whether the class can return line information.

ReadAsDateTime ( ) : DateTime?

Reads the next EDI token from the stream as a Nullable{DateTime}.

ReadAsDecimal ( Picture picture = null ) : decimal?

Reads the next EDI token from the stream as a Nullable{Decimal}.

ReadAsInt32 ( ) : int?

Reads the next EDI token from the stream as a Nullable{Int32}.

ReadAsString ( ) : string

Reads the next EDI token from the stream as a String.

Private Methods

Méthode Description
BlockCopyChars ( char src, int srcOffset, char dst, int dstOffset, int count ) : void
ClearRecentString ( ) : void
EatWhitespace ( bool oneOrMore ) : bool
EnsureChars ( int relativePosition, bool append ) : bool
GetBuffer ( ) : StringBuffer
OnNewLine ( int pos ) : void
ParsePostValue ( ) : bool
ParseSegment ( ) : bool
ParseSegmentName ( ) : bool
ParseServiceStringAdvice ( ) : bool
ParseString ( bool forceNull = false ) : void
ParseUnicode ( ) : char
ParseValue ( ) : bool
ProcessCarriageReturn ( bool append ) : void
ProcessLineFeed ( ) : void
Read ( ) : bool
ReadChars ( int relativePosition, bool append ) : bool
ReadData ( bool append ) : int
ReadData ( bool append, int charsRequired ) : int
ReadInternal ( ) : bool
ReadStringIntoBuffer ( ) : void
SetCharBuffer ( char chars ) : void
ShiftBufferIfNeeded ( ) : void
WriteCharToBuffer ( StringBuffer buffer, char writeChar, int lastWritePosition, int writeToPosition ) : void

Method Details

EdiTextReader() public méthode

public EdiTextReader ( TextReader reader, IEdiGrammar grammar ) : indice.Edi.Utilities
reader TextReader
grammar IEdiGrammar
Résultat indice.Edi.Utilities

HasLineInfo() public méthode

Gets a value indicating whether the class can return line information.
public HasLineInfo ( ) : bool
Résultat bool

ReadAsDateTime() public méthode

Reads the next EDI token from the stream as a Nullable{DateTime}.
public ReadAsDateTime ( ) : DateTime?
Résultat DateTime?

ReadAsDecimal() public méthode

Reads the next EDI token from the stream as a Nullable{Decimal}.
public ReadAsDecimal ( Picture picture = null ) : decimal?
picture Picture
Résultat decimal?

ReadAsInt32() public méthode

Reads the next EDI token from the stream as a Nullable{Int32}.
public ReadAsInt32 ( ) : int?
Résultat int?

ReadAsString() public méthode

Reads the next EDI token from the stream as a String.
public ReadAsString ( ) : string
Résultat string