|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.aracyc.AbstractAracycFileReader
edu.iastate.metnet.aracyc.AttributeFileReaderEx
public class AttributeFileReaderEx
same as AttributeFileReader except implementing the data structure by Map of MultiMap
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
(package private) int |
PARSE
file line scanner status |
(package private) int |
SEARCH
file line scanner status for one unique-id record |
| Constructor Summary | |
|---|---|
AttributeFileReaderEx()
|
|
| Method Summary | |
|---|---|
protected java.util.Map |
parseFile(java.util.LinkedList lines)
parse the file lines and turn into maps |
java.util.Map |
read(java.io.InputStream inputStream)
|
java.util.Map |
read(java.lang.String filename)
read in the file and turn into map data structure like ATP=> {UID=>[ATP], SYNONYM=>[ATPase, ADP]} |
| Methods inherited from class edu.iastate.metnet.aracyc.AbstractAracycFileReader |
|---|
getFileLines, getFileLines, print |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
final int SEARCH
final int PARSE
| Constructor Detail |
|---|
public AttributeFileReaderEx()
| Method Detail |
|---|
public java.util.Map read(java.lang.String filename)
IAracycFileReader reader = new AttributeFileReaderEx(); Map map = reader.read(filename);
read in interface IAracycFileReaderread in class AbstractAracycFileReaderfilename - filename of the dump file,
public java.util.Map read(java.io.InputStream inputStream)
read in interface IAracycFileReaderread in class AbstractAracycFileReaderprotected java.util.Map parseFile(java.util.LinkedList lines)
lines - the line read from the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||