Click or drag to resize

UriLoaderLoad Method (IRdfHandler, Uri)

Attempts to load a RDF Graph from the given URI using a RDF Handler.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public static void Load(
	IRdfHandler handler,
	Uri u


Type: VDS.RDFIRdfHandler
RDF Handler to use.
Type: SystemUri
URI to attempt to get RDF from.

Attempts to select the relevant Parser based on the Content Type header returned in the HTTP Response.

If you know ahead of time the Content Type you can just open a HTTP Stream yourself and pass it to an instance of the correct Parser.

In the event that the URI is a File URI the FileLoader will be used instead. If the URI is a Data URI then the DataUriLoader will be used instead.

See Also