Summer.Batch.Extra.Sort.Legacy.Parser.OutfilParser Class Reference
Parser for outfil cards. It expects outfil configurations containing 'include', 'omit', and 'outrec' cards. Each configuration must be separated by a semi-colon. More...
Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Parser.OutfilParser:
Public Member Functions | |
OutfilParser () | |
Default constructor. More... | |
IList< IOutputFile< byte[]> > | GetOutputFiles (string outfils) |
Parses the outfil configurations and computes a list of IOutputFile<T>. More... | |
Properties | |
Encoding | Encoding [get, set] |
The encoding of the records. Default is System.Text.Encoding.Default. More... | |
Encoding | SortEncoding [get, set] |
The encoding to use when sorting, if different from Encoding. Default is null . 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 outfil cards. It expects outfil configurations containing 'include', 'omit', and 'outrec' cards. Each configuration must be separated by a semi-colon.
Constructor & Destructor Documentation
Summer.Batch.Extra.Sort.Legacy.Parser.OutfilParser.OutfilParser | ( | ) |
Default constructor.
Member Function Documentation
IList<IOutputFile<byte[]> > Summer.Batch.Extra.Sort.Legacy.Parser.OutfilParser.GetOutputFiles | ( | string | outfils | ) |
Parses the outfil configurations and computes a list of IOutputFile<T>.
- Parameters
-
outfils The outfil configurations, separated by commas.
- Returns
Property Documentation
|
getset |
The encoding of the records. Default is System.Text.Encoding.Default.
|
getset |
The encoding to use when sorting, if different from Encoding. Default is null
.
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Sort/Legacy/Parser/OutfilParser.cs