Example usage for Java java.io FileReader fields, constructors, methods, implement or subclass
The text is from its open source code.
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 . |
void | close() |
String | getEncoding() Returns the name of the character encoding being used by this stream. |
int | read() Reads a single character. |
int | read(java.nio.CharBuffer target) Attempts to read characters into the specified character buffer. |
int | read(char cbuf[], int offset, int length) Reads characters into a portion of an array. |
boolean | ready() Tells whether this stream is ready to be read. |
long | skip(long n) Skips characters. |
String | toString() Returns a string representation of the object. |