Package | Description |
---|---|
java.io |
Modifier and Type | Class and Description |
---|---|
class |
BufferedInputStream
A
BufferedInputStream adds
functionality to another input stream-namely,
the ability to buffer the input and to
support the mark and reset
methods. |
class |
BufferedOutputStream
The class implements a buffered output stream.
|
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 |
BufferedWriter
Writes text to a character-output stream, buffering characters so as to
provide for the efficient writing of single characters, arrays, and strings.
|
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 |
CharArrayReader
This class implements a character buffer that can be used as a
character-input stream.
|
class |
CharArrayWriter
This class implements a character buffer that can be used as an Writer.
|
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 |
FileInputStream
A
FileInputStream obtains input bytes
from a file in a file system. |
class |
FileOutputStream
A file output stream is an output stream for writing data to a
File or to a FileDescriptor . |
class |
FileReader
Convenience class for reading character files.
|
class |
FileWriter
Convenience class for writing character files.
|
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 |
FilterReader
Abstract class for reading filtered character streams.
|
class |
FilterWriter
Abstract class for writing filtered character 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
. |
class |
LineNumberInputStream
Deprecated.
This class incorrectly assumes that bytes adequately represent
characters. As of JDK 1.1, the preferred way to operate on
character streams is via the new character-stream classes, which
include a class for counting line numbers.
|
class |
LineNumberReader
A buffered character-input stream that keeps track of line numbers.
|
class |
ObjectInputStream
An ObjectInputStream deserializes primitive data and objects previously
written using an ObjectOutputStream.
|
class |
ObjectOutputStream
An ObjectOutputStream writes primitive data types and graphs of Java objects
to an OutputStream.
|
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
. |
class |
PipedInputStream
A piped input stream should be connected
to a piped output stream; the piped input
stream then provides whatever data bytes
are written to the piped output stream.
|
class |
PipedOutputStream
A piped output stream can be connected to a piped input stream
to create a communications pipe.
|
class |
PipedReader
Piped character-input streams.
|
class |
PipedWriter
Piped character-output streams.
|
class |
PrintStream
A
PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently. |
class |
PrintWriter
Prints formatted representations of objects to a text-output stream.
|
class |
PushbackInputStream
A
PushbackInputStream adds
functionality to another input stream, namely
the ability to "push back" or "unread"
one byte. |
class |
PushbackReader
A character-stream reader that allows characters to be pushed back into the
stream.
|
class |
RandomAccessFile
Instances of this class support both reading and writing to a
random access file.
|
class |
Reader
Abstract class for reading character streams.
|
class |
SequenceInputStream
A
SequenceInputStream represents
the logical concatenation of other input
streams. |
class |
StringBufferInputStream
Deprecated.
This class does not properly convert characters into bytes. As
of JDK 1.1, the preferred way to create a stream from a
string is via the
StringReader class. |
class |
StringReader
A character stream whose source is a string.
|
class |
StringWriter
A character stream that collects its output in a string buffer, which can
then be used to construct a string.
|
class |
Writer
Abstract class for writing to character streams.
|