| Interface | Description |
|---|---|
| Closeable |
A
Closeable is a source or destination of data that can be closed. |
| DataInput |
The
DataInput interface provides
for reading bytes from a binary stream and
reconstructing from them data in any of
the Java primitive types. |
| Flushable |
A Flushable is a destination of data that can be flushed.
|
| Serializable |
Serializability of a class is enabled by the class implementing the
java.io.Serializable interface.
|
| Class | Description |
|---|---|
| ByteArrayInputStream |
A
ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream. |
| ByteArrayOutputStream |
This class implements an output stream in which the data is
written into a byte array.
|
| DataInputStream |
A data input stream lets an application read primitive Java data
types from an underlying input stream in a machine-independent
way.
|
| FilterInputStream |
A
FilterInputStream contains
some other input stream, which it uses as
its basic source of data, possibly transforming
the data along the way or providing additional
functionality. |
| InputStream |
This abstract class is the superclass of all classes representing
an input stream of bytes.
|
| InputStreamReader |
An InputStreamReader is a bridge from byte streams to character streams: It
reads bytes and decodes them into characters using a specified
. |
| OutputStream |
This abstract class is the superclass of all classes representing
an output stream of bytes.
|
| PushbackInputStream |
A
PushbackInputStream adds
functionality to another input stream, namely
the ability to "push back" or "unread"
one byte. |
| Reader |
Abstract class for reading character streams.
|
| Exception | Description |
|---|---|
| EOFException |
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
| IOException |
Signals that an I/O exception of some sort has occurred.
|
| UnsupportedEncodingException |
The Character Encoding is not supported.
|
| UTFDataFormatException |
Signals that a malformed string in
modified UTF-8
format has been read in a data
input stream or by any class that implements the data input
interface.
|
Copyright © 2025 API Design. All Rights Reserved.