Show / Hide Table of Contents

Class BaseGZipDatasetWriter

Abstract Base class for Dataset writers that produce GZipped Output.
Inheritance
System.Object
BaseGZipDatasetWriter
GZippedJsonLdWriter
GZippedNQuadsWriter
GZippedTriGWriter
GZippedTriXWriter
Implements
IStoreWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseGZipDatasetWriter : IStoreWriter
Remarks

While the normal witers can be used with GZip streams directly this class just abstracts the wrapping of file/stream output into a GZip stream if it is not already passed as such.

Constructors

| Improve this Doc View Source

BaseGZipDatasetWriter(IStoreWriter)

Creates a new GZiped Writer.
Declaration
public BaseGZipDatasetWriter(IStoreWriter writer)
Parameters
Type Name Description
IStoreWriter writer Underlying writer.

Methods

| Improve this Doc View Source

Save(ITripleStore, TextWriter)

Saves a RDF Dataset as GZipped output.
Declaration
public void Save(ITripleStore store, TextWriter output)
Parameters
Type Name Description
ITripleStore store Store to save.
System.IO.TextWriter output Writer to save to.
| Improve this Doc View Source

Save(ITripleStore, TextWriter, Boolean)

Saves a RDF Dataset as GZipped output.
Declaration
public void Save(ITripleStore store, TextWriter output, bool leaveOpen)
Parameters
Type Name Description
ITripleStore store Store to save.
System.IO.TextWriter output Writer to save to. Must be an instance of System.IO.StreamWriter.
System.Boolean leaveOpen Boolean flag indicating if the output stream should remain open after the output is written.
| Improve this Doc View Source

Save(ITripleStore, String)

Saves a RDF Dataset as GZipped output.
Declaration
public void Save(ITripleStore store, string filename)
Parameters
Type Name Description
ITripleStore store Store to save.
System.String filename File to save to.
| Improve this Doc View Source

ToString()

Gets the description of the writer.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Events

| Improve this Doc View Source

Warning

Event raised when non-fatal output errors
Declaration
public event StoreWriterWarning Warning
Event Type
Type Description
StoreWriterWarning

Implements

IStoreWriter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseGZipDatasetWriter(IStoreWriter)
  • Methods
    • Save(ITripleStore, TextWriter)
    • Save(ITripleStore, TextWriter, Boolean)
    • Save(ITripleStore, String)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX