com.microdeveloper.util.io
Class FileIn
java.lang.Object
java.io.Reader
java.io.BufferedReader
com.microdeveloper.util.io.FileIn
- All Implemented Interfaces:
- Closeable, Readable
public final class FileIn
- extends BufferedReader
FileIn extends BufferedReader and adds only a convenient constructor for reading in file data.
Example usage of FileIn:
FileIn in = new FileIn("file.txt");
boolean done = false ;
while ( ! done )
{
String s = in.readLine();
if ( s == null )
{
done = true ;
}
else
{
System.out.println( s );
}
}
in.close();
- Since:
- 1.7.4
- Version:
- 1.0
- Author:
- MicroDeveloper, Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileIn
public FileIn(String fileName)
throws FileNotFoundException
- Throws:
FileNotFoundException
Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.