Click or drag to resize

IRdfReaderLoad Method (IRdfHandler, String)

Method for Loading RDF using a RDF Handler from some Concrete RDF Syntax from a given File.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
void Load(
	IRdfHandler handler,
	string filename
)

Parameters

handler
Type: VDS.RDFIRdfHandler
RDF Handler to use.
filename
Type: SystemString
The Filename of the File to read 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