slib.sglib.io.loader.bio.mesh
Class GraphLoader_MESH_XML

java.lang.Object
  extended by slib.sglib.io.loader.bio.mesh.GraphLoader_MESH_XML
All Implemented Interfaces:
GraphLoader

public class GraphLoader_MESH_XML
extends Object
implements GraphLoader

MeSH Loader. This class permits to load the MeSH trees into a Directed Acyclic Graph http://www.nlm.nih.gov/mesh/trees.html The loader was designed for the 2013 XML version of the MeSH, coherency with prior or older version hasn't been tested.

Author:
Harispe Sébastien

Field Summary
static String ARG_PREFIX
           
 
Constructor Summary
GraphLoader_MESH_XML()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARG_PREFIX

public static final String ARG_PREFIX
See Also:
Constant Field Values
Constructor Detail

GraphLoader_MESH_XML

public GraphLoader_MESH_XML()
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


Copyright © 2013. All Rights Reserved.