slib.sglib.io.loader
Interface GraphLoader

All Known Implementing Classes:
GraphLoader_CSV, GraphLoader_GAF_2, GraphLoader_MESH_XML, GraphLoader_OBO_1_2, GraphLoader_SLIB, GraphLoader_Wordnet, GraphLoaderSnomedCT_RF2, RDFLoader

public interface GraphLoader

Generic interface defining the methods a graph loader must implements

Author:
Sebastien Harispe

Method Summary
 slib.sglib.model.graph.G load(GraphConf conf)
          Load a new Graph considering the given configuration
 void populate(GDataConf conf, slib.sglib.model.graph.G g)
          Populate an existing graph considering the given configuration
 

Method Detail

load

slib.sglib.model.graph.G load(GraphConf conf)
                              throws slib.utils.ex.SLIB_Exception
Load a new Graph considering the given configuration

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

void populate(GDataConf conf,
              slib.sglib.model.graph.G g)
              throws slib.utils.ex.SLIB_Exception
Populate an existing graph considering the given configuration

Parameters:
conf - a GraphConf object specifying the configuration the loader must takes into account
g -
Throws:
slib.utils.ex.SLIB_Exception


Copyright © 2013. All Rights Reserved.