Summer.Batch.Extra.Sort.Legacy.Parser.SumParser Class Reference

Parser for sum configuration cards that produces instances of ISum<T>. More...

Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Parser.SumParser:
Summer.Batch.Extra.Sort.Legacy.Parser.AbstractParser

Public Member Functions

ISum< byte[]> GetSum (string configuration)
 Gets a sum from its configuration card. More...
 

Properties

Encoding Encoding [get, set]
 The encoding of the records to sum. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Summer.Batch.Extra.Sort.Legacy.Parser.AbstractParser
Lexer GetLexer (Regex formatRegex, string configuration, out string defaultFormat)
 Creates a lexer from a regex and a configuration card. The regex is used to get the default format which is then written in defaultFormat . More...
 
object GetAccessor (int start, int length, string format, Encoding encoding)
 Creates an accessor depending on the format. More...
 
- Protected Attributes inherited from Summer.Batch.Extra.Sort.Legacy.Parser.AbstractParser
const string StringFormat = "CH"
 String format constant. More...
 
const string SubstringFormat = "SS"
 Substring format constant. More...
 
const string ZonedFormat = "ZD"
 Zoned format constant. More...
 
const string PackedFormat = "PD"
 Packed format constant. More...
 
const string SignedBinaryFormat = "FI"
 Signed binary format constant. More...
 
const string BinaryFormat = "BI"
 Unsigned binary format constant. More...
 
const string OpeningPar = "("
 Opening parenthese constant. More...
 
const string ClosingPar = ")"
 Closing parenthese constant More...
 

Detailed Description

Parser for sum configuration cards that produces instances of ISum<T>.

Member Function Documentation

ISum<byte[]> Summer.Batch.Extra.Sort.Legacy.Parser.SumParser.GetSum ( string  configuration)

Gets a sum from its configuration card.

Parameters
configurationa sum configuration card
Returns
the corresponding ISum<T>

Property Documentation

Encoding Summer.Batch.Extra.Sort.Legacy.Parser.SumParser.Encoding
getset

The encoding of the records to sum.


The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/Sort/Legacy/Parser/SumParser.cs