edu.iastate.metnet.aracyc
Class ClassesDatReader

java.lang.Object
  extended by edu.iastate.metnet.aracyc.AbstractAracycFileReader
      extended by edu.iastate.metnet.aracyc.AttributeFileReader
          extended by edu.iastate.metnet.aracyc.ClassesDatReader
All Implemented Interfaces:
IAracycFileReader

public class ClassesDatReader
extends AttributeFileReader


Field Summary
 
Fields inherited from class edu.iastate.metnet.aracyc.AttributeFileReader
logger, PARSE, SEARCH
 
Constructor Summary
ClassesDatReader()
           
 
Method Summary
 ClassTree getClassTree(java.lang.String filename)
          return the classtree of the parentid and childid of class
 void importAracyc2MetNET(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
protected  java.util.Map parseFile(java.util.LinkedList lines)
          parse the file lines and turn into maps
 void test(java.lang.String[] args)
           
 
Methods inherited from class edu.iastate.metnet.aracyc.AttributeFileReader
read
 
Methods inherited from class edu.iastate.metnet.aracyc.AbstractAracycFileReader
getFileLines, getFileLines, print, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassesDatReader

public ClassesDatReader()
Method Detail

getClassTree

public ClassTree getClassTree(java.lang.String filename)
return the classtree of the parentid and childid of class

Parameters:
filename - the class file
Returns:
the tree, which contain the all information for each class type. the map for each element contain UNIQUEID=>[], TYPES=>[], and so on.

main

public static void main(java.lang.String[] args)

test

public void test(java.lang.String[] args)

importAracyc2MetNET

public void importAracyc2MetNET(java.lang.String[] args)

parseFile

protected java.util.Map parseFile(java.util.LinkedList lines)
Description copied from class: AttributeFileReader
parse the file lines and turn into maps

Overrides:
parseFile in class AttributeFileReader
Parameters:
lines - the line read from the file
Returns:
the map of data