Class TriGWriterContext
Writer Context for TriG.
Implements
Inherited Members
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class TriGWriterContext : ThreadedStoreWriterContext, IStoreWriterContext
Constructors
| Edit this page View SourceTriGWriterContext(ITripleStore, TextWriter, bool, bool, int, bool)
Creates a new TriG Writer context.
Declaration
public TriGWriterContext(ITripleStore store, TextWriter output, bool prettyPrint, bool hiSpeedAllowed, int compressionLevel, bool n3compatability)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Triple Store to save. |
TextWriter | output | TextWriter to output to. |
bool | prettyPrint | Whether to use pretty printing. |
bool | hiSpeedAllowed | Whether high speed mode is permitted. |
int | compressionLevel | Compression Level to use. |
bool | n3compatability | Whether to enable N3 compatability mode. |
Properties
| Edit this page View SourceCompressionLevel
Gets/Sets the Compression Level.
Declaration
public int CompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int |
N3CompatabilityMode
Gets/Sets N3 Compatability Mode.
Declaration
public bool N3CompatabilityMode { get; set; }
Property Value
Type | Description |
---|---|
bool |