Show / Hide Table of Contents

Class BaseGZipParser

Abstract Base class for RDF parsers which can read GZipped input.
Inheritance
System.Object
BaseGZipParser
GZippedNotation3Parser
GZippedNTriplesParser
GZippedRdfAParser
GZippedRdfJsonParser
GZippedRdfXmlParser
GZippedTurtleParser
Implements
IRdfReader
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 BaseGZipParser : IRdfReader
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

BaseGZipParser(IRdfReader)

Creates a new GZipped input parser.
Declaration
public BaseGZipParser(IRdfReader parser)
Parameters
Type Name Description
IRdfReader parser Underlying parser.

Methods

| Improve this Doc View Source

Load(IGraph, StreamReader)

Loads a Graph from GZipped input.
Declaration
public void Load(IGraph g, StreamReader input)
Parameters
Type Name Description
IGraph g Graph to load into.
System.IO.StreamReader input Stream to load from.
| Improve this Doc View Source

Load(IGraph, TextReader)

Loads a Graph from GZipped input.
Declaration
public void Load(IGraph g, TextReader input)
Parameters
Type Name Description
IGraph g Graph to load into.
System.IO.TextReader input Reader to load from.
| Improve this Doc View Source

Load(IGraph, String)

Loads a Graph from GZipped input.
Declaration
public void Load(IGraph g, string filename)
Parameters
Type Name Description
IGraph g Graph to load into.
System.String filename File to load from.
| Improve this Doc View Source

Load(IRdfHandler, StreamReader)

Loads RDF using a RDF Handler from GZipped input.
Declaration
public void Load(IRdfHandler handler, StreamReader input)
Parameters
Type Name Description
IRdfHandler handler RDF Handler to use.
System.IO.StreamReader input Stream to load from.
| Improve this Doc View Source

Load(IRdfHandler, TextReader)

Loads RDF using a RDF Handler 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 Reader to load from.
| Improve this Doc View Source

Load(IRdfHandler, String)

Loads RDF using a RDF Handler 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.
| Improve this Doc View Source

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 Source

Warning

Warning event which is raised when non-fatal errors are encounted parsing RDF
Declaration
public event RdfReaderWarning Warning
Event Type
Type Description
RdfReaderWarning

Implements

IRdfReader

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseGZipParser(IRdfReader)
  • Methods
    • Load(IGraph, StreamReader)
    • Load(IGraph, TextReader)
    • Load(IGraph, String)
    • Load(IRdfHandler, StreamReader)
    • Load(IRdfHandler, TextReader)
    • Load(IRdfHandler, String)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX