Class EmbeddedResourceLoader
Static Helper Class for loading Graphs and Triple Stores from Embedded Resources.
Inherited Members
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public static class EmbeddedResourceLoader
Methods
| Edit this page View SourceLoad(IGraph, string)
Loads a Graph from an Embedded Resource.
Declaration
public static void Load(IGraph g, string resource)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to load into. |
string | resource | Assembly Qualified Name of the Resource to load. |
Remarks
Parser will be auto-selected.
Load(IGraph, string, IRdfReader)
Loads a Graph from an Embedded Resource.
Declaration
public static void Load(IGraph g, string resource, IRdfReader parser)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to load into. |
string | resource | Assembly Qualified Name of the Resource to load. |
IRdfReader | parser | Parser to use (leave null for auto-selection). |
Load(IRdfHandler, string)
Loads a Graph from an Embedded Resource.
Declaration
public static void Load(IRdfHandler handler, string resource)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
string | resource | Assembly Qualified Name of the Resource to load. |
Load(IRdfHandler, string, IRdfReader)
Loads a Graph from an Embedded Resource.
Declaration
public static void Load(IRdfHandler handler, string resource, IRdfReader parser)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
string | resource | Assembly Qualified Name of the Resource to load. |
IRdfReader | parser | Parser to use (leave null for auto-selection). |
Load(IRdfHandler, string, IStoreReader)
Loads a RDF Dataset from an Embedded Resource.
Declaration
public static void Load(IRdfHandler handler, string resource, IStoreReader parser)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
string | resource | Assembly Qualified Name of the Resource to load. |
IStoreReader | parser | Parser to use (leave null for auto-selection). |
Load(ITripleStore, string)
Loads a RDF Dataset from an Embedded Resource.
Declaration
public static void Load(ITripleStore store, string resource)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Store to load into. |
string | resource | Assembly Qualified Name of the Resource to load. |
Remarks
Parser will be auto-selected.
Load(ITripleStore, string, IStoreReader)
Loads a RDF Dataset from an Embedded Resource.
Declaration
public static void Load(ITripleStore store, string resource, IStoreReader parser)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Store to load into. |
string | resource | Assembly Qualified Name of the Resource to load. |
IStoreReader | parser | Parser to use (leave null for auto-selection). |
LoadDataset(IRdfHandler, string)
Loads a RDF Dataset from an Embedded Resource.
Declaration
public static void LoadDataset(IRdfHandler handler, string resource)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
string | resource | Assembly Qualified Name of the Resource to load. |