net.sourceforge.addam.ddlrun.utils
Class FileSystemReader
java.lang.Object
net.sourceforge.addam.ddlrun.utils.FileSystemReader
- All Implemented Interfaces:
- ResourceReader
public class FileSystemReader
- extends Object
- implements ResourceReader
Used to read resources from within the local FileSystem.
- Since:
- Mar 5, 2005
- Author:
- TIM3
Constructor Summary |
FileSystemReader(File resourceFile)
Allows only the FileSystemReaderFactory to construct a FileSystemReader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
private BufferedReader reader
resourceFile
final File resourceFile
FileSystemReader
FileSystemReader(File resourceFile)
- Allows only the FileSystemReaderFactory to construct a FileSystemReader.
- Parameters:
resourceFile
- the file to read from
readLine
public String readLine()
throws IOException
- Specified by:
readLine
in interface ResourceReader
- Throws:
IOException
getReader
private BufferedReader getReader()
Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.