|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.io.FileLineIterator<E>
E
- the returned type.public abstract class FileLineIterator<E>
This class is used to iterate through the lines of a file.
Constructor Summary | |
---|---|
FileLineIterator()
|
Method Summary | |
---|---|
protected static void |
checkFile(java.lang.String fileName)
Ensures the provided string is the name of a valid file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Constructor Detail |
---|
public FileLineIterator()
Method Detail |
---|
protected static void checkFile(java.lang.String fileName)
fileName
- the name of the file to check for
validity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |