Class EmbeddedResourceLoader
Static Helper Class for loading Graphs and Triple Stores from Embedded Resources.
Inheritance
Inherited Members
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public static class EmbeddedResourceLoader
Methods
| Improve this Doc View SourceLoad(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(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(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(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(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). |
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.
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. |