Class BaseGZipDatasetParser
Abstract Base Class for parsers that handle GZipped input.
Inheritance
System.Object
BaseGZipDatasetParser
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)
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseGZipDatasetParser : IStoreReader
Remarks
While the normal parsers can be used with GZip streams directly this class just abstracts the wrapping of file/stream input into a GZip stream if it is not already passed as such.
Constructors
| Improve this Doc View SourceBaseGZipDatasetParser(IStoreReader)
Creates a new GZipped input parser.
Declaration
public BaseGZipDatasetParser(IStoreReader parser)
Parameters
Type | Name | Description |
---|---|---|
IStoreReader | parser | The underlying parser to use. |
Methods
| Improve this Doc View SourceLoad(IRdfHandler, TextReader)
Loads a RDF dataset from GZipped input.
Declaration
public void Load(IRdfHandler handler, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
System.IO.TextReader | input | Input to load from. |
Load(IRdfHandler, String)
Loads a RDF dataset from GZipped input.
Declaration
public void Load(IRdfHandler handler, string filename)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
System.String | filename | File to load from. |
Load(ITripleStore, TextReader)
Loads a RDF dataset from GZipped input.
Declaration
public void Load(ITripleStore store, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Triple Store to load into. |
System.IO.TextReader | input | Input to load from. |
Load(ITripleStore, String)
Loads a RDF dataset from GZipped input.
Declaration
public void Load(ITripleStore store, string filename)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Triple Store to load into. |
System.String | filename | File to load from. |
ToString()
Gets the description of the parser.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
| Improve this Doc View SourceWarning
Warning Event raised on non-fatal errors encountered parsing
Declaration
public event StoreReaderWarning Warning
Event Type
Type | Description |
---|---|
StoreReaderWarning |