Click or drag to resize

UriLoader.Load Method (IRdfHandler, Uri, IRdfReader)

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

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

Parameters

handler
Type: VDS.RDF.IRdfHandler
RDF Handler to use.
u
Type: System.Uri
URI to attempt to get RDF from.
parser
Type: VDS.RDF.IRdfReader
Parser to use.
Remarks

Uses the supplied parser to attempt parsing regardless of the actual Content Type returned.

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