Show / Hide Table of Contents

Class CsvFormatter

Formatter for generating CSV.

Inheritance
object
BaseFormatter
CsvFormatter
Implements
INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
Inherited Members
BaseFormatter.FormatName
BaseFormatter.Format(INode, TripleSegment?)
BaseFormatter.Format(INode)
BaseFormatter.Format(Triple, IRefNode)
BaseFormatter.FormatUri(string)
BaseFormatter.FormatUri(Uri)
BaseFormatter.FormatBlankNode(IBlankNode, TripleSegment?)
BaseFormatter.FormatTripleNode(ITripleNode, TripleSegment?)
BaseFormatter.FormatVariableNode(IVariableNode, TripleSegment?)
BaseFormatter.FormatGraphLiteralNode(IGraphLiteralNode, TripleSegment?)
BaseFormatter.FormatChar(char)
BaseFormatter.FormatChar(char[])
BaseFormatter.Format(ISparqlResult)
BaseFormatter.FormatBooleanResult(bool)
BaseFormatter.Escape(string, List<string[]>)
BaseFormatter.ToString()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public class CsvFormatter : BaseFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter

Constructors

| Edit this page View Source

CsvFormatter()

Creates a new CSV Formatter.

Declaration
public CsvFormatter()

Methods

| Edit this page View Source

Format(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
BaseFormatter.Format(Triple)
| Edit this page View Source

FormatLiteralNode(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
BaseFormatter.FormatLiteralNode(ILiteralNode, TripleSegment?)
| Edit this page View Source

FormatUriNode(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
Overrides
BaseFormatter.FormatUriNode(IUriNode, TripleSegment?)

Implements

INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • CsvFormatter()
  • Methods
    • Format(Triple)
    • FormatLiteralNode(ILiteralNode, TripleSegment?)
    • FormatUriNode(IUriNode, TripleSegment?)
  • Implements
  • Extension Methods
Back to top Generated by DocFX