|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUtils.CommentedFileReader
public class CommentedFileReader
Reads from a commented file ignoring any comments
Constructor Summary | |
---|---|
CommentedFileReader(java.io.File f)
Constructor |
Method Summary | |
---|---|
void |
close()
Close the file reader |
java.lang.String |
readLine()
Reads a line from the file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentedFileReader(java.io.File f) throws java.io.FileNotFoundException
f
- The file to read from
java.io.FileNotFoundException
- thrown if the file is not foundMethod Detail |
---|
public java.lang.String readLine() throws java.io.IOException
java.io.IOException
- thrown if the underlying BufferedReader
throws this exceptionpublic void close() throws java.io.IOException
java.io.IOException
- thrown if the underlying BuffereReader throws this
exception when it is closed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |