|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.io.BaseFile
databionics.io.ListFile
public abstract class ListFile
Base class for files with lists.
Field Summary | |
---|---|
protected java.util.List |
data
List containing the data. |
protected static org.apache.log4j.Logger |
log
Log4j logging. |
Fields inherited from class databionics.io.BaseFile |
---|
allowEmptyLines, comment, commentPrefix, delimiter, delimiters, file, header, headerPrefix, loc, nf |
Constructor Summary | |
---|---|
ListFile()
Standard constructor |
|
ListFile(java.lang.String filename)
Constructor with a filename |
Method Summary | |
---|---|
protected java.lang.String |
buildLine(int row)
Construct a line for saving. |
java.util.List |
getData()
Get the data list. |
int |
getSize()
Get the number of lines in file. |
void |
setData(java.util.List data)
Set the data list. |
Methods inherited from class databionics.io.BaseFile |
---|
buildHeader, checkHeader, checkHeaderAgainstSize, getComment, getFile, getFilename, getHeader, getLocale, getNumberFormat, init, isHeader, isNaN, isNumber, load, load, parseError, parseHeader, parseLine, save, save, setComment, setFilename, setLocale, writeStringList, writeStringList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger log
protected java.util.List data
Constructor Detail |
---|
public ListFile()
public ListFile(java.lang.String filename)
filename
- Name of the fileMethod Detail |
---|
protected java.lang.String buildLine(int row)
buildLine
in class BaseFile
row
- Number of current line.
public java.util.List getData()
public void setData(java.util.List data)
public int getSize()
getSize
in class BaseFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |