Click or drag to resize

IRdfReader.Load Method (IGraph, StreamReader)

Method for Loading a Graph from some Concrete RDF Syntax via some arbitrary Stream.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
void Load(
	IGraph g,
	StreamReader input
)

Parameters

g
Type: VDS.RDF.IGraph
Graph to load RDF into.
input
Type: System.IO.StreamReader
The reader to read input from.
Exceptions
ExceptionCondition
RdfExceptionThrown if the Parser tries to output something that is invalid RDF.
RdfParseExceptionThrown if the Parser cannot Parse the Input.
IOExceptionThrown if the Parser encounters an IO Error while trying to access/parse the Stream.
See Also