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, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
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 |
CharArrayReader
This class implements a character buffer that can be used as a
character-input stream.
|
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
. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CharBuffer
A char buffer.
|
Constructor and Description |
---|
Scanner(Readable source)
Constructs a new
Scanner that produces values scanned
from the specified source. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.