public class RDFLoader extends Object implements GraphLoader
Constructor and Description |
---|
RDFLoader() |
RDFLoader(org.openrdf.rio.RDFFormat format) |
Modifier and Type | Method and Description |
---|---|
void |
load(slib.sglib.model.graph.G g,
InputStream inputStream) |
void |
load(slib.sglib.model.graph.G g,
Map<String,org.openrdf.rio.RDFFormat> rdfFileConf) |
void |
load(slib.sglib.model.graph.G g,
String file) |
void |
load(slib.sglib.model.graph.G g,
String file,
org.openrdf.rio.RDFFormat format) |
void |
populate(GDataConf conf,
slib.sglib.model.graph.G g)
Populate an existing graph considering the given configuration
|
public RDFLoader()
public RDFLoader(org.openrdf.rio.RDFFormat format) throws slib.utils.ex.SLIB_Ex_Critic
format
- slib.utils.ex.SLIB_Ex_Critic
public void populate(GDataConf conf, slib.sglib.model.graph.G g) throws slib.utils.ex.SLIB_Exception
GraphLoader
populate
in interface GraphLoader
conf
- a GraphConf
object specifying the configuration the loader must takes into accountslib.utils.ex.SLIB_Exception
public void load(slib.sglib.model.graph.G g, String file) throws slib.utils.ex.SLIB_Ex_Critic
g
- file
- slib.utils.ex.SLIB_Ex_Critic
public void load(slib.sglib.model.graph.G g, InputStream inputStream) throws slib.utils.ex.SLIB_Ex_Critic
slib.utils.ex.SLIB_Ex_Critic
public void load(slib.sglib.model.graph.G g, String file, org.openrdf.rio.RDFFormat format) throws slib.utils.ex.SLIB_Ex_Critic
g
- file
- format
- slib.utils.ex.SLIB_Ex_Critic
Copyright © 2014. All rights reserved.