## Uses of Class
java.io.Reader

- Packages that use Reader
  Package | Description
  --- | ---
  java.io |
  java.util |

- - ### Uses of Reader in java.io

    Subclasses of Reader in java.io
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BufferedReader` Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
    `class` | `FileReader` Convenience class for reading character files.
    `class` | `FilterReader` Abstract class for reading filtered character streams.
    `class` | `InputStreamReader` An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified ``charset``.
    `class` | `LineNumberReader` A buffered character-input stream that keeps track of line numbers.
    `class` | `StringReader` A character stream whose source is a string.

    Fields in java.io declared as Reader
    Modifier and Type | Field and Description
    --- | ---
    `protected Reader` | FilterReader.`in` The underlying character-input stream.

    Constructors in java.io with parameters of type Reader
    Constructor and Description
    `BufferedReader(Reader in)` Creates a buffering character-input stream that uses a default-sized input buffer.
    `BufferedReader(Reader in, int sz)` Creates a buffering character-input stream that uses an input buffer of the specified size.
    `FilterReader(Reader in)` Creates a new filtered reader.
    `LineNumberReader(Reader in)` Create a new line-numbering reader, using the default input-buffer size.
    `LineNumberReader(Reader in, int sz)` Create a new line-numbering reader, reading characters into a buffer of the given size.

  - ### Uses of Reader in java.util

    Methods in java.util with parameters of type Reader
    Modifier and Type | Method and Description
    --- | ---
    `void` | Properties.`load(Reader reader)` Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.

    Constructors in java.util with parameters of type Reader
    Constructor and Description
    `PropertyResourceBundle(Reader reader)` Creates a property resource bundle from a `Reader`.

Copyright © 2025 API Design. All Rights Reserved.