net.sourceforge.addam.ddlrun.utils
Class FileSystemReader

java.lang.Object
  extended by 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

Field Summary
private  BufferedReader reader
           
(package private)  File resourceFile
           
 
Constructor Summary
FileSystemReader(File resourceFile)
          Allows only the FileSystemReaderFactory to construct a FileSystemReader.
 
Method Summary
private  BufferedReader getReader()
           
 String readLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

private BufferedReader reader

resourceFile

final File resourceFile
Constructor Detail

FileSystemReader

FileSystemReader(File resourceFile)
Allows only the FileSystemReaderFactory to construct a FileSystemReader.

Parameters:
resourceFile - the file to read from
Method Detail

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.