Summer.Batch.Extra.Sort.Legacy.Format.LegacyFormatter Class Reference
Implementation of IFormatter<T> that emulates legacy formatting. It relies on a list of ISubFormatter that each create a part of the output record. More...
Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Format.LegacyFormatter:
Public Member Functions | |
LegacyFormatter () | |
Default constructor. More... | |
byte[] | Format (byte[] record) |
Formats a record using the sub formatters. More... | |
Public Member Functions inherited from Summer.Batch.Extra.Sort.Format.IFormatter< byte[]> | |
T | Format (T record) |
Formats a record. More... | |
Properties | |
IList< ISubFormatter > | Formatters [get, set] |
The ISubFormatters that will create the output record. More... | |
Encoding | Encoding [get, set] |
The encoding to use to write the output string in the byte array. More... | |
Detailed Description
Implementation of IFormatter<T> that emulates legacy formatting. It relies on a list of ISubFormatter that each create a part of the output record.
Constructor & Destructor Documentation
Summer.Batch.Extra.Sort.Legacy.Format.LegacyFormatter.LegacyFormatter | ( | ) |
Default constructor.
Member Function Documentation
byte [] Summer.Batch.Extra.Sort.Legacy.Format.LegacyFormatter.Format | ( | byte[] | record | ) |
Formats a record using the sub formatters.
- Parameters
-
record the record to format
- Returns
- the formatted record
Property Documentation
|
getset |
The encoding to use to write the output string in the byte array.
|
getset |
The ISubFormatters that will create the output record.
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Sort/Legacy/Format/LegacyFormatter.cs