C# Class Summer.Batch.Common.Util.DefaultPropertiesPersister

Default implementation of the IPropertiesPersister interface. Follows the standard key=value parsing.
Inheritance: IPropertiesPersister
Datei anzeigen Open project: SummerBatch/SummerBatch

Public Methods

Method Description
Load ( NameValueCollection properties, TextReader reader ) : void

Load properties from a text reader.

Store ( NameValueCollection properties, TextWriter writer ) : void

Writes properties to a text writer.

Method Details

Load() public method

Load properties from a text reader.
 in case of I/O errors
public Load ( NameValueCollection properties, TextReader reader ) : void
properties System.Collections.Specialized.NameValueCollection The where to store the properties.
reader System.IO.TextReader The to read the properties from.
return void

Store() public method

Writes properties to a text writer.
 in case of I/O errors
public Store ( NameValueCollection properties, TextWriter writer ) : void
properties System.Collections.Specialized.NameValueCollection The properties to write.
writer System.IO.TextWriter The to write the properties to.
return void