Click or drag to resize

CompressingTurtleWriter Class

Class for generating Turtle Concrete RDF Syntax which provides varying levels of Syntax Compression.
Inheritance Hierarchy

Namespace:  VDS.RDF.Writing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class CompressingTurtleWriter : BaseRdfWriter, 
	IPrettyPrintingWriter, IHighSpeedWriter, ICompressingWriter, INamespaceWriter, IFormatterBasedWriter

The CompressingTurtleWriter type exposes the following members.

Constructors
  NameDescription
Public methodCompressingTurtleWriter
Creates a new Compressing Turtle Writer which uses the Default Compression Level.
Public methodCompressingTurtleWriter(Int32)
Creates a new Compressing Turtle Writer which uses the given Compression Level.
Public methodCompressingTurtleWriter(TurtleSyntax)
Creates a new compressing Turtle writer using the given syntax level.
Public methodCompressingTurtleWriter(Int32, TurtleSyntax)
Creates a new Compressing Turtle Writer which uses the given Compression Level and Syntax Level.
Top
Properties
  NameDescription
Public propertyCompressionLevel
Gets/Sets the Compression Level to be used.
Public propertyDefaultNamespaces
Gets/Sets the Default Namespaces that are always available.
Public propertyHighSpeedModePermitted
Gets/Sets whether High Speed Write Mode should be allowed.
Public propertyPrettyPrintMode
Gets/Sets whether Pretty Printing is used.
Public propertyTripleFormatterType
Gets the type of the Triple Formatter used by the writer.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(IGraph, TextWriter)
Method for Saving a Graph to a Concrete RDF Syntax via some arbitrary TextWriter.
(Inherited from BaseRdfWriter.)
Public methodSave(IGraph, String)
Saves a Graph to a file using Turtle Syntax.
(Overrides BaseRdfWriterSave(IGraph, String).)
Public methodSave(IGraph, TextWriter, Boolean)
Method for saving a graph to a concrete RDF syntax via some arbitray TextWriter.
(Inherited from BaseRdfWriter.)
Protected methodSaveInternal
Saves a Graph to the given Stream using Turtle Syntax.
(Overrides BaseRdfWriterSaveInternal(IGraph, TextWriter).)
Public methodToString
Gets the String representation of the writer which is a description of the syntax it produces.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventWarning
Event which is raised when there is a non-fatal issue with the Graph being written
(Overrides BaseRdfWriterWarning.)
Top
Remarks
Similar in speed to the standard TurtleWriter but capable of using more syntax compressions depending on the Compression level set.
Thread Safety
Designed to be Thread Safe - should be able to call the Save() method from multiple threads on different Graphs without issue.
See Also