Class TriGWriterContext
Writer Context for TriG.
Implements
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)
System.Object.ToString()
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRDF.dll
Syntax
public class TriGWriterContext : ThreadedStoreWriterContext, IStoreWriterContext
Constructors
| Improve this Doc View SourceTriGWriterContext(ITripleStore, TextWriter, Boolean, Boolean, Int32, Boolean)
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. |
System.IO.TextWriter | output | TextWriter to output to. |
System.Boolean | prettyPrint | Whether to use pretty printing. |
System.Boolean | hiSpeedAllowed | Whether high speed mode is permitted. |
System.Int32 | compressionLevel | Compression Level to use. |
System.Boolean | n3compatability | Whether to enable N3 compatability mode. |
Properties
| Improve this Doc View SourceCompressionLevel
Gets/Sets the Compression Level.
Declaration
public int CompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
N3CompatabilityMode
Gets/Sets N3 Compatability Mode.
Declaration
public bool N3CompatabilityMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |