edu.iastate.metnet.aracyc
Class ClassesDatReader
java.lang.Object
edu.iastate.metnet.aracyc.AbstractAracycFileReader
edu.iastate.metnet.aracyc.AttributeFileReader
edu.iastate.metnet.aracyc.ClassesDatReader
- All Implemented Interfaces:
- IAracycFileReader
public class ClassesDatReader
- extends AttributeFileReader
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassesDatReader
public ClassesDatReader()
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