Uses of Interface
java.lang.Readable

Packages that use Readable 
Package Description
java.io
Provides for system input and output through data streams, serialization and the file system.
java.nio
Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
jdk.nashorn.api.scripting
This package provides the javax.script integration, which is the preferred way to use Nashorn.
  • Uses of Readable in java.io

    Classes in java.io that implement Readable 
    Modifier and Type Class 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  CharArrayReader
    This class implements a character buffer that can be used as a character-input stream.
    class  FileReader
    Reads text from character files using a default buffer size.
    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  PipedReader
    Piped character-input streams.
    class  PushbackReader
    A character-stream reader that allows characters to be pushed back into the stream.
    class  Reader
    Abstract class for reading character streams.
    class  StringReader
    A character stream whose source is a string.
  • Uses of Readable in java.nio

    Classes in java.nio that implement Readable 
    Modifier and Type Class Description
    class  CharBuffer
    A char buffer.
  • Uses of Readable in java.util

    Constructors in java.util with parameters of type Readable 
    Constructor Description
    Scanner​(Readable source)
    Constructs a new Scanner that produces values scanned from the specified source.
  • Uses of Readable in jdk.nashorn.api.scripting

    Classes in jdk.nashorn.api.scripting that implement Readable 
    Modifier and Type Class Description
    class  URLReader
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.