Show / Hide Table of Contents

Class BaseGZipDatasetParser

Abstract Base Class for parsers that handle GZipped input.

Inheritance
System.Object
BaseGZipDatasetParser
GZippedJsonLdParser
GZippedNQuadsParser
GZippedTriGParser
GZippedTriXParser
Implements
IStoreReader
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, 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 Source

BaseGZipDatasetParser(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 Source

Load(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

ToString()

Gets the description of the parser.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
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 Source

Warning

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.

Implements

IStoreReader

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseGZipDatasetParser(IStoreReader)
  • Methods
    • Load(IRdfHandler, TextReader, IUriFactory)
    • Load(IRdfHandler, TextReader)
    • Load(IRdfHandler, string, IUriFactory)
    • Load(IRdfHandler, string)
    • Load(ITripleStore, TextReader)
    • Load(ITripleStore, string)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX