C# Class Precog.Client.Format.DelimitedFormat

A format of delimited text, following the guidelines in RFC 4180.

This format requires a delimiter, quote character and escape character. The escape character is used to represent the quote character inside of quoted values. Although the actual delimiter is configurable, because we follow the general format of RFC 4180, the MIME type is text/csv.

Inheritance: AppendFormat
Show file Open project: precog/precog_dotnet_client

Public Properties

Property Type Description
Delimiter char
Escape char
Quote char

Public Methods

Method Description
DelimitedFormat ( char delimiter ) : System

Create a new DelimitedFormat with the specified delimiter, using the double quote (") for escape and quoting characters.

DelimitedFormat ( char delimiter, char escape, char quote ) : System

Create a new DelimitedFormat with the specified delimiter, escape, and quote characters.

Private Methods

Method Description
RequestParameters ( ) : string

Method Details

DelimitedFormat() public method

Create a new DelimitedFormat with the specified delimiter, using the double quote (") for escape and quoting characters.
public DelimitedFormat ( char delimiter ) : System
delimiter char
return System

DelimitedFormat() public method

Create a new DelimitedFormat with the specified delimiter, escape, and quote characters.
public DelimitedFormat ( char delimiter, char escape, char quote ) : System
delimiter char
escape char
quote char
return System

Property Details

Delimiter public property

The character used to separate fields
public char Delimiter
return char

Escape public property

The character used to escape quote characters found within quoted values
public char Escape
return char

Quote public property

The character used to quote values in fields
public char Quote
return char