C# 클래스 Summer.Batch.Infrastructure.Item.File.Transform.DefaultFieldSet

Default implementation of IFieldSet.
상속: IFieldSet
파일 보기 프로젝트 열기: SummerBatch/SummerBatch 1 사용 예제들

공개 메소드들

메소드 설명
DefaultFieldSet ( string values ) : System

Creates a DefaultFieldSet with the specified values.

DefaultFieldSet ( string names, string values ) : System

Creates a DefaultFieldSet with the specified names and values.

ReadBoolean ( int index, string trueValue = "true" ) : bool

Reads a field as a boolean.

ReadBoolean ( string name, string trueValue = "true" ) : bool

Reads a field as a boolean.

ReadByte ( int index ) : byte

Reads a field as a byte.

ReadByte ( string name ) : byte

Reads a field as a byte.

ReadChar ( int index ) : char

Reads a field as a character.

ReadChar ( string name ) : char

Reads a field as a character.

ReadDate ( int index ) : System.DateTime

Reads a field as a date.

ReadDate ( int index, System.DateTime defaultValue ) : System.DateTime

Reads a field as a date.

ReadDate ( int index, string pattern ) : System.DateTime

Reads a field as a date.

ReadDate ( int index, string pattern, System.DateTime defaultValue ) : System.DateTime

Reads a field as a date, using defaultValue if needed.

ReadDate ( string name ) : System.DateTime

Reads a field as a date.

ReadDate ( string name, System.DateTime defaultValue ) : System.DateTime

Reads a field as a date.

ReadDate ( string name, string pattern ) : System.DateTime

Reads a field as a date.

ReadDate ( string name, string pattern, System.DateTime defaultValue ) : System.DateTime

Reads a field as a date.

ReadDecimal ( int index ) : decimal

Reads a field as a decimal.

ReadDecimal ( int index, decimal defaultValue ) : decimal

Reads a field as a decimal.

ReadDecimal ( string name ) : decimal

Reads a field as a decimal.

ReadDecimal ( string name, decimal defaultValue ) : decimal

Reads a field as a decimal.

ReadDouble ( int index ) : double

Reads a field as a double.

ReadDouble ( string name ) : double

Reads a field as a double.

ReadFloat ( int index ) : float

Reads a field as a float.

ReadFloat ( string name ) : float

Reads a field as a float.

ReadInt ( int index ) : int

Reads a field as an int.

ReadInt ( int index, int defaultValue ) : int

Reads a field as an int.

ReadInt ( string name ) : int

Reads a field as an int.

ReadInt ( string name, int defaultValue ) : int

Reads a field as an int.

ReadLong ( int index ) : long

Reads a field as a long.

ReadLong ( int index, long defaultValue ) : long

Reads a field as a long.

ReadLong ( string name ) : long

Reads a field as a long.

ReadLong ( string name, long defaultValue ) : long

Reads a field as a long.

ReadRawString ( int index ) : string

Reads a field as a string.

ReadRawString ( string name ) : string

Reads a field as a string.

ReadShort ( int index ) : short

Reads a field as a short.

ReadShort ( string name ) : short

Reads a field as a short.

ReadString ( int index ) : string

Reads a field as a string.

ReadString ( string name ) : string

Reads a field as a string.

비공개 메소드들

메소드 설명
IndexOf ( string name ) : int
ReadAndTrim ( int index ) : string

메소드 상세

DefaultFieldSet() 공개 메소드

Creates a DefaultFieldSet with the specified values.
public DefaultFieldSet ( string values ) : System
values string an array containing the values of the fields
리턴 System

DefaultFieldSet() 공개 메소드

Creates a DefaultFieldSet with the specified names and values.
 if names and values do not have the same length
public DefaultFieldSet ( string names, string values ) : System
names string an array containing the names of the fields
values string an array containing the values of the fields
리턴 System

ReadBoolean() 공개 메소드

Reads a field as a boolean.
 if the index does not correspond to a field
public ReadBoolean ( int index, string trueValue = "true" ) : bool
index int the index of the field to read
trueValue string the literal corresponding to true (default is "true")
리턴 bool

ReadBoolean() 공개 메소드

Reads a field as a boolean.
 if no field has the given name
public ReadBoolean ( string name, string trueValue = "true" ) : bool
name string the name of the field to read
trueValue string the literal corresponding to true (default is "true")
리턴 bool

ReadByte() 공개 메소드

Reads a field as a byte.
 if the index does not correspond to a field
public ReadByte ( int index ) : byte
index int the index of the field to read
리턴 byte

ReadByte() 공개 메소드

Reads a field as a byte.
 if no field has the given name
public ReadByte ( string name ) : byte
name string the name of the field to read
리턴 byte

ReadChar() 공개 메소드

Reads a field as a character.
 if the index does not correspond to a field
public ReadChar ( int index ) : char
index int the index of the field to read
리턴 char

ReadChar() 공개 메소드

Reads a field as a character.
 if no field has the given name
public ReadChar ( string name ) : char
name string the name of the field to read
리턴 char

ReadDate() 공개 메소드

Reads a field as a date.
 if the index does not correspond to a field
public ReadDate ( int index ) : System.DateTime
index int the index of the field to read
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date.
 if the index does not correspond to a field
public ReadDate ( int index, System.DateTime defaultValue ) : System.DateTime
index int the index of the field to read
defaultValue System.DateTime the default value if the field is blank
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date.
 if the index does not correspond to a field
public ReadDate ( int index, string pattern ) : System.DateTime
index int the index of the field to read
pattern string the pattern to use to parse the date
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date, using defaultValue if needed.
public ReadDate ( int index, string pattern, System.DateTime defaultValue ) : System.DateTime
index int
pattern string
defaultValue System.DateTime
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date.
 if no field has the given name
public ReadDate ( string name ) : System.DateTime
name string the name of the field to read
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date.
 if no field has the given name
public ReadDate ( string name, System.DateTime defaultValue ) : System.DateTime
name string the name of the field to read
defaultValue System.DateTime the default value if the field is blank
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date.
 if no field has the given name
public ReadDate ( string name, string pattern ) : System.DateTime
name string the name of the field to read
pattern string the pattern to use to parse the date
리턴 System.DateTime

ReadDate() 공개 메소드

Reads a field as a date.
 if no field has the given name
public ReadDate ( string name, string pattern, System.DateTime defaultValue ) : System.DateTime
name string the name of the field to read
pattern string the pattern to use to parse the date
defaultValue System.DateTime the default value if the field is blank
리턴 System.DateTime

ReadDecimal() 공개 메소드

Reads a field as a decimal.
 if the index does not correspond to a field
public ReadDecimal ( int index ) : decimal
index int the index of the field to read
리턴 decimal

ReadDecimal() 공개 메소드

Reads a field as a decimal.
 if the index does not correspond to a field
public ReadDecimal ( int index, decimal defaultValue ) : decimal
index int the index of the field to read
defaultValue decimal the default value if the field is blank
리턴 decimal

ReadDecimal() 공개 메소드

Reads a field as a decimal.
 if no field has the given name
public ReadDecimal ( string name ) : decimal
name string the name of the field to read
리턴 decimal

ReadDecimal() 공개 메소드

Reads a field as a decimal.
 if no field has the given name
public ReadDecimal ( string name, decimal defaultValue ) : decimal
name string the name of the field to read
defaultValue decimal the default value if the field is blank
리턴 decimal

ReadDouble() 공개 메소드

Reads a field as a double.
 if the index does not correspond to a field
public ReadDouble ( int index ) : double
index int the index of the field to read
리턴 double

ReadDouble() 공개 메소드

Reads a field as a double.
 if no field has the given name
public ReadDouble ( string name ) : double
name string the name of the field to read
리턴 double

ReadFloat() 공개 메소드

Reads a field as a float.
 if the index does not correspond to a field
public ReadFloat ( int index ) : float
index int the index of the field to read
리턴 float

ReadFloat() 공개 메소드

Reads a field as a float.
 if no field has the given name
public ReadFloat ( string name ) : float
name string the name of the field to read
리턴 float

ReadInt() 공개 메소드

Reads a field as an int.
 if the index does not correspond to a field
public ReadInt ( int index ) : int
index int the index of the field to read
리턴 int

ReadInt() 공개 메소드

Reads a field as an int.
 if the index does not correspond to a field
public ReadInt ( int index, int defaultValue ) : int
index int the index of the field to read
defaultValue int the default value if the field is blank
리턴 int

ReadInt() 공개 메소드

Reads a field as an int.
 if no field has the given name
public ReadInt ( string name ) : int
name string the name of the field to read
리턴 int

ReadInt() 공개 메소드

Reads a field as an int.
 if no field has the given name
public ReadInt ( string name, int defaultValue ) : int
name string the name of the field to read
defaultValue int the default value if the field is blank
리턴 int

ReadLong() 공개 메소드

Reads a field as a long.
 if the index does not correspond to a field
public ReadLong ( int index ) : long
index int the index of the field to read
리턴 long

ReadLong() 공개 메소드

Reads a field as a long.
 if the index does not correspond to a field
public ReadLong ( int index, long defaultValue ) : long
index int the index of the field to read
defaultValue long the default value if the field is blank
리턴 long

ReadLong() 공개 메소드

Reads a field as a long.
 if no field has the given name
public ReadLong ( string name ) : long
name string the name of the field to read
리턴 long

ReadLong() 공개 메소드

Reads a field as a long.
 if no field has the given name
public ReadLong ( string name, long defaultValue ) : long
name string the name of the field to read
defaultValue long the default value if the field is blank
리턴 long

ReadRawString() 공개 메소드

Reads a field as a string.
 if the index does not correspond to a field
public ReadRawString ( int index ) : string
index int the index of the field to read
리턴 string

ReadRawString() 공개 메소드

Reads a field as a string.
 if no field has the given name
public ReadRawString ( string name ) : string
name string the name of the field to read
리턴 string

ReadShort() 공개 메소드

Reads a field as a short.
 if the index does not correspond to a field
public ReadShort ( int index ) : short
index int the index of the field to read
리턴 short

ReadShort() 공개 메소드

Reads a field as a short.
 if no field has the given name
public ReadShort ( string name ) : short
name string the name of the field to read
리턴 short

ReadString() 공개 메소드

Reads a field as a string.
 if the index does not correspond to a field
public ReadString ( int index ) : string
index int the index of the field to read
리턴 string

ReadString() 공개 메소드

Reads a field as a string.
 if no field has the given name
public ReadString ( string name ) : string
name string the name of the field to read
리턴 string