IT. Expert System.

Java Standard Edition (SE)

FileReader


compact1, compact2, compact3
java.io

Class FileReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Readable


    public class FileReader
    extends InputStreamReader
    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.

    Since:
    JDK1.1
    See Also:
    InputStreamReader, FileInputStream
    • Constructor Detail

      • FileReader

        public FileReader(String fileName)
                   throws FileNotFoundException
        Creates a new FileReader, given the name of the file to read from.
        Parameters:
        fileName - the name of the file to read from
        Throws:
        FileNotFoundException - if the named file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading.
      • FileReader

        public FileReader(File file)
                   throws FileNotFoundException
        Creates a new FileReader, given the File to read from.
        Parameters:
        file - the File to read from
        Throws:
        FileNotFoundException - if the file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading.
      • FileReader

        public FileReader(FileDescriptor fd)
        Creates a new FileReader, given the FileDescriptor to read from.
        Parameters:
        fd - the FileDescriptor to read from


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 998 / . Delta: 0.02641 с