slib.sglib.io.loader.rdf
Class RDFLoader

java.lang.Object
  extended by slib.sglib.io.loader.rdf.RDFLoader
All Implemented Interfaces:
GraphLoader

public class RDFLoader
extends Object
implements GraphLoader

Author:
seb

Constructor Summary
RDFLoader()
           
RDFLoader(org.openrdf.rio.RDFFormat format)
           
 
Method Summary
 void load(slib.sglib.model.graph.G g, Map<String,org.openrdf.rio.RDFFormat> rdfFileConf)
           
 slib.sglib.model.graph.G load(GraphConf conf)
          Load a new Graph considering the given configuration
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFLoader

public RDFLoader()

RDFLoader

public RDFLoader(org.openrdf.rio.RDFFormat format)
          throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
format -
Throws:
slib.utils.ex.SLIB_Ex_Critic
Method Detail

load

public slib.sglib.model.graph.G load(GraphConf conf)
                              throws slib.utils.ex.SLIB_Exception
Description copied from interface: GraphLoader
Load a new Graph considering the given configuration

Specified by:
load in interface GraphLoader
Parameters:
conf - a GraphConf object specifying the configuration the loader must takes into account
Returns:
a graph G
Throws:
slib.utils.ex.SLIB_Exception

populate

public void populate(GDataConf conf,
                     slib.sglib.model.graph.G g)
              throws slib.utils.ex.SLIB_Exception
Description copied from interface: GraphLoader
Populate an existing graph considering the given configuration

Specified by:
populate in interface GraphLoader
Parameters:
conf - a GraphConf object specifying the configuration the loader must takes into account
Throws:
slib.utils.ex.SLIB_Exception

load

public void load(slib.sglib.model.graph.G g,
                 String file)
          throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
g -
file -
Throws:
slib.utils.ex.SLIB_Ex_Critic

load

public void load(slib.sglib.model.graph.G g,
                 String file,
                 org.openrdf.rio.RDFFormat format)
          throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
g -
file -
format -
Throws:
slib.utils.ex.SLIB_Ex_Critic

load

public void load(slib.sglib.model.graph.G g,
                 Map<String,org.openrdf.rio.RDFFormat> rdfFileConf)
          throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
g -
rdfFileConf -
Throws:
slib.utils.ex.SLIB_Ex_Critic


Copyright © 2013. All Rights Reserved.