Class CsvFormatter
Formatter for generating CSV.
Inherited Members
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public class CsvFormatter : BaseFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter
Constructors
| Edit this page View SourceCsvFormatter()
Creates a new CSV Formatter.
Declaration
public CsvFormatter()
Methods
| Edit this page View SourceFormat(Triple)
Formats a Triple for CSV output.
Declaration
public override string Format(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceFormatLiteralNode(ILiteralNode, TripleSegment?)
Formats Literals for CSV output.
Declaration
protected override string FormatLiteralNode(ILiteralNode l, TripleSegment? segment)
Parameters
Type | Name | Description |
---|---|---|
ILiteralNode | l | Literal. |
TripleSegment? | segment | Triple Segment. |
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceFormatUriNode(IUriNode, TripleSegment?)
Formats URIs for CSV output.
Declaration
protected override string FormatUriNode(IUriNode u, TripleSegment? segment)
Parameters
Type | Name | Description |
---|---|---|
IUriNode | u | URI. |
TripleSegment? | segment | Triple Segment. |
Returns
Type | Description |
---|---|
string |