|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.expasy.jpl.commons.base.io.TabFileReader
public final class TabFileReader
| Constructor Summary | |
|---|---|
TabFileReader()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
doReadHeader()
Ask whether header line is read |
ArrayList<String> |
getColomnNames()
Get column names. |
String |
getSeparator()
Get separator |
ArrayList<ArrayList<Double>> |
getValues()
Get values |
static TabFileReader |
newInstance()
retrieve new instance |
void |
parse(File file)
parse the content |
void |
setReadHeader(boolean readHeader)
Set flag that defines whether to read heather |
void |
setSeparator(String separator)
Set separator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabFileReader()
| Method Detail |
|---|
public static TabFileReader newInstance()
public void parse(File file)
throws ParseException
Parser
parse in interface Parser<File>ParseExceptionpublic ArrayList<String> getColomnNames()
public ArrayList<ArrayList<Double>> getValues()
public void setReadHeader(boolean readHeader)
readHeader - flagpublic boolean doReadHeader()
public void setSeparator(String separator)
separator - Column separatorpublic String getSeparator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||