|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.aracyc.AbstractAracycFileReader
public class AbstractAracycFileReader
abstract reader which implements read line stuff
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
| Constructor Summary | |
|---|---|
AbstractAracycFileReader()
|
|
| Method Summary | |
|---|---|
protected java.util.LinkedList |
getFileLines(java.io.InputStream inputStream)
|
protected java.util.LinkedList |
getFileLines(java.lang.String filename)
get the file lines as the linked list, and remove any comment line which are preceded by # |
void |
print(java.util.Map file)
the map structure should contain the unique as the key, then another map as the value. |
java.util.Map |
read(java.io.InputStream inputStream)
|
java.util.Map |
read(java.lang.String filename)
empty function need to be implemented by subclass |
| 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
| Constructor Detail |
|---|
public AbstractAracycFileReader()
| Method Detail |
|---|
public java.util.Map read(java.lang.String filename)
read in interface IAracycFileReaderfilename - filename of the dump file,
public java.util.Map read(java.io.InputStream inputStream)
read in interface IAracycFileReaderprotected java.util.LinkedList getFileLines(java.lang.String filename)
filename - the file name
protected java.util.LinkedList getFileLines(java.io.InputStream inputStream)
public void print(java.util.Map file)
print in interface IAracycFileReaderfile - the data structure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||