Class EmbeddedResourceLoader
Static Helper Class for loading Graphs and Triple Stores from Embedded Resources.
Inheritance
System.Object
EmbeddedResourceLoader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public static class EmbeddedResourceLoader
Methods
| Improve this Doc 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. |
System.String | resource | Assembly Qualified Name of the Resource to load. |
Remarks
Parser will be auto-selected.
|
Improve this Doc
View Source
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. |
System.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. |
System.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. |
System.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. |
System.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. |
System.String | resource | Assembly Qualified Name of the Resource to load. |
Remarks
Parser will be auto-selected.
|
Improve this Doc
View Source
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. |
System.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. |
System.String | resource | Assembly Qualified Name of the Resource to load. |