C# Class FlatFiles.SeparatedValueWriter

Builds textual representations of data by separating fields with a delimiter.
Inheritance: IWriter
ファイルを表示 Open project: jehugaleahsa/FlatFiles

Public Methods

Method Description
GetSchema ( ) : FlatFiles.SeparatedValueSchema

Gets the schema used to build the output.

SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueOptions options = null ) : System

Initializes a new SeparatedValueWriter without a schema.

SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options = null ) : System

Initializes a new SeparatedValueWriter with the given schema.

Write ( object values ) : void

Writes the textual representation of the given values to the writer.

Private Methods

Method Description
IWriter ( ) : ISchema
SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options, bool hasSchema ) : System

Method Details

GetSchema() public method

Gets the schema used to build the output.
public GetSchema ( ) : FlatFiles.SeparatedValueSchema
return FlatFiles.SeparatedValueSchema

SeparatedValueWriter() public method

Initializes a new SeparatedValueWriter without a schema.
The writer is null.
public SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueOptions options = null ) : System
writer System.IO.TextWriter A writer over the separated value document.
options FlatFiles.SeparatedValueOptions The options used to format the output.
return System

SeparatedValueWriter() public method

Initializes a new SeparatedValueWriter with the given schema.
The writer is null. The schema is null.
public SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options = null ) : System
writer System.IO.TextWriter A writer over the separated value document.
schema FlatFiles.SeparatedValueSchema The schema of the separated value document.
options FlatFiles.SeparatedValueOptions The options used to format the output.
return System

Write() public method

Writes the textual representation of the given values to the writer.
The values array is null.
public Write ( object values ) : void
values object The values to write.
return void