public class CommentedFileReader
extends java.lang.Object
Constructor and Description |
---|
CommentedFileReader(java.io.File f)
Constructor
|
public CommentedFileReader(java.io.File f) throws java.io.FileNotFoundException
f
- The file to read fromjava.io.FileNotFoundException
- thrown if the file is not foundpublic 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.