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 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 G |
load(GraphConf graphConf)
Build the graph considering the given configuration.
|
static G |
load(GraphConf graphConf,
G g)
Impact the given graph considering the given configuration.
|
static G |
populate(GDataConf dataConf,
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 G populate(GDataConf dataConf, G g) throws SLIB_Exception
dataConf
- the object defining the configuration of the data to loadg
- the graph to populate with the dataSLIB_Exception
- if an error is encountered during loading.public static G createGraph(org.openrdf.model.URI uri)
uri
- the URI of the graphpublic static G load(GraphConf graphConf) throws SLIB_Exception
graphConf
- the graph configurationSLIB_Exception
public static G load(GraphConf graphConf, G g) throws SLIB_Exception
graphConf
- the graph configurationg
- the graphSLIB_Exception
public static void load(Collection<GraphConf> graphConfs) throws SLIB_Exception
graphConfs
- the collection of configurationsSLIB_Exception
public static boolean supportFormat(String format)
format
- the formatpublic static GFormat[] getSupportedFormat()
Copyright © 2014. All rights reserved.