Class BaseGZipDatasetParser
Abstract Base Class for parsers that handle GZipped input.
Inheritance
Implements
Inherited Members
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. |
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.
Methods
| Improve this Doc View SourceLoad(IRdfHandler, TextReader, IUriFactory)
Loads an RDF dataset using and RDF handler.
Declaration
public void Load(IRdfHandler handler, TextReader input, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF handler to use. |
System.IO.TextReader | input | File to load from. |
IUriFactory | uriFactory | URI factory to use. |
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.
Load(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. |
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.
Load(IRdfHandler, string, IUriFactory)
Loads an RDF dataset using an RDF handler.
Declaration
public void Load(IRdfHandler handler, string filename, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF handler to use. |
string | filename | File to load from. |
IUriFactory | uriFactory | URI factory to use. |
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.
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. |
string | filename | File to load from. |
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.
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. |
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.
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. |
string | filename | File to load from. |
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.
ToString()
Gets the description of the parser.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
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.
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 |
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.