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:
Summer.Batch.Extra.Sort.Format.IFormatter< byte[]>

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[]>
Format (T record)
 Formats a record. More...
 

Properties

IList< ISubFormatterFormatters [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
recordthe record to format
Returns
the formatted record

Property Documentation

Encoding Summer.Batch.Extra.Sort.Legacy.Format.LegacyFormatter.Encoding
getset

The encoding to use to write the output string in the byte array.

IList<ISubFormatter> Summer.Batch.Extra.Sort.Legacy.Format.LegacyFormatter.Formatters
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