Show / Hide Table of Contents

Class CsvFormatter

Formatter for generating CSV.

Inheritance
System.Object
BaseFormatter
CsvFormatter
Implements
INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
Inherited Members
BaseFormatter.FormatName
BaseFormatter.Format(INode, TripleSegment?)
BaseFormatter.Format(INode)
BaseFormatter.Format(Triple)
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

| Improve this Doc View Source

CsvFormatter()

Creates a new CSV Formatter.

Declaration
public CsvFormatter()

Methods

| Improve this Doc 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?)
| Improve this Doc 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)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • CsvFormatter()
  • Methods
    • FormatLiteralNode(ILiteralNode, TripleSegment?)
    • FormatUriNode(IUriNode, TripleSegment?)
  • Implements
  • Extension Methods
Back to top Generated by DocFX