public class GraphLoaderGeneric extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
static GFormat[] |
supportedFormat
The formats currently supported by the generic loader.
|
Constructor and Description |
---|
GraphLoaderGeneric() |
Modifier and Type | Method and Description |
---|---|
static slib.sglib.model.graph.G |
createGraph(org.openrdf.model.URI uri)
Create a graph and register it.
|
static GFormat[] |
getSupportedFormat()
Access to the set of supported format.
|
static void |
load(Collection<GraphConf> graphConfs)
Load the collection of configurations.
|
static slib.sglib.model.graph.G |
load(GraphConf graphConf)
Build the graph considering the given configuration.
|
static slib.sglib.model.graph.G |
load(GraphConf graphConf,
slib.sglib.model.graph.G g)
Impact the given graph considering the given configuration.
|
static slib.sglib.model.graph.G |
populate(GDataConf dataConf,
slib.sglib.model.graph.G g)
Populate a given graph considering a configuration.
|
static boolean |
supportFormat(String format)
Check if the generic loader support the given format.
|
public static org.slf4j.Logger logger
public static GFormat[] supportedFormat
public static slib.sglib.model.graph.G populate(GDataConf dataConf, slib.sglib.model.graph.G g) throws slib.utils.ex.SLIB_Exception
dataConf
- the object defining the configuration of the data to loadg
- the graph to populate with the dataslib.utils.ex.SLIB_Exception
- if an error is encountered during loading.public static slib.sglib.model.graph.G createGraph(org.openrdf.model.URI uri)
uri
- the URI of the graphpublic static slib.sglib.model.graph.G load(GraphConf graphConf) throws slib.utils.ex.SLIB_Exception
graphConf
- the graph configurationslib.utils.ex.SLIB_Exception
public static slib.sglib.model.graph.G load(GraphConf graphConf, slib.sglib.model.graph.G g) throws slib.utils.ex.SLIB_Exception
graphConf
- the graph configurationg
- the graphslib.utils.ex.SLIB_Exception
public static void load(Collection<GraphConf> graphConfs) throws slib.utils.ex.SLIB_Exception
graphConfs
- the collection of configurationsslib.utils.ex.SLIB_Exception
public static boolean supportFormat(String format)
format
- the formatpublic static GFormat[] getSupportedFormat()
Copyright © 2014. All rights reserved.