Show / Hide Table of Contents

Class CsvWriter

Class for generating CSV output from RDF Graphs.

Inheritance
object
BaseRdfWriter
CsvWriter
Implements
IRdfWriter
IFormatterBasedWriter
Inherited Members
BaseRdfWriter.Save(IGraph, string)
BaseRdfWriter.Save(IGraph, string, Encoding)
BaseRdfWriter.Save(IGraph, TextWriter)
BaseRdfWriter.Save(IGraph, TextWriter, bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class CsvWriter : BaseRdfWriter, IRdfWriter, IFormatterBasedWriter

Properties

| Edit this page View Source

TripleFormatterType

Gets the type of the Triple Formatter used by the writer.

Declaration
public Type TripleFormatterType { get; }
Property Value
Type Description
Type

Methods

| Edit this page View Source

SaveInternal(IGraph, TextWriter)

Saves a Graph to CSV format.

Declaration
protected override void SaveInternal(IGraph g, TextWriter output)
Parameters
Type Name Description
IGraph g

Graph.

TextWriter output

Writer to save to.

Overrides
BaseRdfWriter.SaveInternal(IGraph, TextWriter)
| Edit this page View Source

ToString()

Gets the String representation of the writer which is a description of the syntax it produces.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Events

| Edit this page View Source

Warning

Event which is raised if the Writer detects a non-fatal error while outputting CSV

Declaration
public override event RdfWriterWarning Warning
Event Type
Type Description
RdfWriterWarning
Overrides
BaseRdfWriter.Warning
Remarks

This class does not raise this event.

Implements

IRdfWriter
IFormatterBasedWriter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • TripleFormatterType
  • Methods
    • SaveInternal(IGraph, TextWriter)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX