Click or drag to resize

StringWriter Class

Static Helper class for the writing of RDF Graphs and SPARQL Result Sets to Strings rather than Streams/Files.
Inheritance Hierarchy
SystemObject
  VDS.RDF.WritingStringWriter

Namespace:  VDS.RDF.Writing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static class StringWriter
Methods
  NameDescription
Public methodStatic memberWrite(IGraph, IRdfWriter)
Writes the Graph to a String and returns the output in your chosen concrete RDF Syntax.
Public methodStatic memberWrite(ITripleStore, IStoreWriter)
Writes the given Triple Store to a String and returns the output in your chosen concrete RDF dataset syntax.
Public methodStatic memberWrite(SparqlResultSet, ISparqlResultsWriter)
Writes the SPARQL Result Set to a String and returns the Output in your chosen format.
Top
See Also