|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdatabionics.io.BaseFile
databionics.io.ListFile
databionics.io.MapFile
databionics.io.PicturesFile
public class PicturesFile
File to store picture names for a slidewhow.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
Log4j logging. |
| Fields inherited from class databionics.io.MapFile |
|---|
map |
| Fields inherited from class databionics.io.ListFile |
|---|
data |
| Fields inherited from class databionics.io.BaseFile |
|---|
allowEmptyLines, comment, commentPrefix, delimiter, delimiters, file, header, headerPrefix, loc, nf |
| Constructor Summary | |
|---|---|
PicturesFile()
Standard constructor |
|
PicturesFile(java.lang.String filename)
Constructor with a filename |
|
| Method Summary | |
|---|---|
protected void |
buildHeader()
Generate header. |
protected void |
checkHeader()
Check consistency of header information. |
KeyName |
getByIndex(int index)
Get a key name by its index. |
static FileType |
getFileType()
Get the type of file. |
protected void |
parseLine(int row,
java.lang.String line)
Parse a line. |
| Methods inherited from class databionics.io.MapFile |
|---|
add, getMap, remove, remove, setData, setMap |
| Methods inherited from class databionics.io.ListFile |
|---|
buildLine, getData, getSize |
| Methods inherited from class databionics.io.BaseFile |
|---|
checkHeaderAgainstSize, getComment, getFile, getFilename, getHeader, getLocale, getNumberFormat, init, isHeader, isNaN, isNumber, load, load, parseError, parseHeader, 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
| Constructor Detail |
|---|
public PicturesFile()
public PicturesFile(java.lang.String filename)
filename - Name of the file| Method Detail |
|---|
protected void parseLine(int row,
java.lang.String line)
parseLine in class BaseFilerow - Number of current line.line - Current line.protected void checkHeader()
checkHeader in class BaseFileprotected void buildHeader()
buildHeader in class BaseFilepublic KeyName getByIndex(int index)
index - Index field of itempublic static FileType getFileType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||