|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.FileStringReader
Class to go through a text file line by line. doCurrentLine need to be overwritten.
Constructor Summary | |
FileStringReader()
|
Method Summary | |
protected abstract void |
doCurrentLine(java.lang.String currentLine)
This method is called for every line. |
boolean |
doFile(java.lang.String fileName)
Opens the textfile |
boolean |
doFile(java.lang.String fileName,
java.lang.ClassLoader classLoader)
Opens the textfile |
java.lang.String |
getComment()
Get the comment attribute of the FileStringReader object |
void |
setComment(java.lang.String s)
Sets the comment attribute of the FileStringReader object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileStringReader()
Method Detail |
public boolean doFile(java.lang.String fileName)
fileName
- No description provided
public boolean doFile(java.lang.String fileName, java.lang.ClassLoader classLoader)
fileName
- No description providedclassLoader
- No description provided
protected abstract void doCurrentLine(java.lang.String currentLine)
currentLine
- No description providedpublic void setComment(java.lang.String s)
s
- The new comment valuepublic java.lang.String getComment()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |