java::io::FileReader Class Reference

Inheritance diagram for java::io::FileReader:

Inheritance graph
java::io::InputStreamReaderjava::lang::Objectjava::lang::Interfacejava::io::Reader
[legend]
Collaboration diagram for java::io::FileReader:

Collaboration graph
java::io::InputStreamReaderjava::lang::Objectjava::lang::Interfacejava::lang::ObjectRefjava::io::Readerjava::lang::Comparable
[legend]

List of all members.


Detailed Description

Convenience class for reading character files.

The constructors of this class assume that the default character encoding and the default byte-buffer size are appropriate. To specify these values yourself, construct an InputStreamReader on a FileInputStream.

FileReader is meant for reading streams of characters. For reading streams of raw bytes, consider using a FileInputStream.

Version:
1.12, 01/12/03
Author:
Mark Reinhold
Since:
JDK1.1

Public Member Functions

 FileReader (const FileDescriptor &_fd=0)
 Creates a new FileReader, given the FileDescriptor to read from.
 FileReader (const String &name, const String &enc=nilCString)
 Creates a new FileReader, given the name of the file to read from.
 FileReader (const File &file, const String &enc=nilCString)
 Creates a new FileReader, given the File to read from.

Constructor & Destructor Documentation

java::io::FileReader::FileReader ( const FileDescriptor _fd = 0  ) 

Creates a new FileReader, given the FileDescriptor to read from.

Parameters:
fd the FileDescriptor to read from

java::io::FileReader::FileReader ( const String name,
const String enc = nilCString 
)

Creates a new FileReader, given the name of the file to read from.

Parameters:
fileName the name of the file to read from
Exceptions:
<tt>FileNotFoundException</tt> if the specified file is not found

java::io::FileReader::FileReader ( const File file,
const String enc = nilCString 
)

Creates a new FileReader, given the File to read from.

Parameters:
file the File to read from
Exceptions:
<tt>FileNotFoundException</tt> if the specified file is not found


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:31 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3