Java java.io FileReader fields, constructors, methods, implement or subclass

Example usage for Java java.io FileReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io FileReader.

The text is from its open source code.

Implementation

java.io.FileReader has the following implementations.
Click this link to see all its implementation.

Constructor

FileReader(String fileName)
Creates a new FileReader , given the name of the file to read, using the platform's java.nio.charset.Charset#defaultCharset() default charset .
FileReader(File file)
Creates a new FileReader , given the File to read, using the platform's java.nio.charset.Charset#defaultCharset() default charset .
FileReader(FileDescriptor fd)
Creates a new FileReader , given the FileDescriptor to read, using the platform's java.nio.charset.Charset#defaultCharset() default charset .

Method

voidclose()
StringgetEncoding()
Returns the name of the character encoding being used by this stream.
intread()
Reads a single character.
intread(java.nio.CharBuffer target)
Attempts to read characters into the specified character buffer.
intread(char cbuf[], int offset, int length)
Reads characters into a portion of an array.
booleanready()
Tells whether this stream is ready to be read.
longskip(long n)
Skips characters.
StringtoString()
Returns a string representation of the object.