Package | Description |
---|---|
java.io |
Contains Input/Output streams communication classes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Closeable
A
Closeable is a source or destination of data that can be closed. |
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayInputStream
A
ByteArrayInputStream contains an internal buffer that contains bytes that may be
read from the stream. |
class |
ByteArrayOutputStream
This class implements an output stream in which the data is written into a byte array.
|
class |
DataInputStream
A data input stream lets an application read primitive Java data types from an underlying input
stream in a machine-independent way.
|
class |
DataOutputStream
A data output stream lets an application write primitive Java data types to an output stream in a
portable way.
|
class |
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. |
class |
FilterOutputStream
This class is the superclass of all classes that filter output streams.
|
class |
InputStream
This abstract class is the superclass of all classes representing an input stream of bytes.
|
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 |
OutputStream
This abstract class is the superclass of all classes representing an output stream of bytes.
|
class |
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to
it are encoded into bytes using a specified
charset . |
class |
PrintStream
A
PrintStream adds functionality to another output stream, namely the ability to
print representations of various data values conveniently. |
class |
Reader
Abstract class for reading character streams.
|
class |
Writer
Abstract class for writing to character streams.
|