| Interface | Description |
|---|---|
| DataInput |
This interface is implemented by classes that can data from streams
into Java primitive types.
|
| DataOutput |
This interface is implemented by classes that can wrte data to streams
from Java primitive types.
|
| FileFilter |
This interface has one method which is used for filtering pathnames
returned in a pathname listing.
|
| FilenameFilter |
This interface has one method which is used for filtering filenames
returned in a directory listing.
|
| ObjectInput |
This interface extends the
DataInput interface to provide a
facility to read objects as well as primitive types from a stream. |
| ObjectInputValidation |
This class allows an object to validate that it is valid after
deserialization has run completely for it and all dependent objects.
|
| ObjectOutput |
This interface extends
DataOutput to provide the additional
facility of writing object instances to a stream. |
| Serializable |
This interface has no methods.
|
| Class | Description |
|---|---|
| BufferedInputStream |
This subclass of
FilterInputStream buffers input from an
underlying implementation to provide a possibly more efficient read
mechanism. |
| BufferedOutputStream |
This class accumulates bytes written in a buffer instead of immediately
writing the data to the underlying output sink.
|
| BufferedReader |
This subclass of
FilterReader buffers input from an
underlying implementation to provide a possibly more efficient read
mechanism. |
| BufferedWriter |
This class accumulates chars written in a buffer instead of immediately
writing the data to the underlying output sink.
|
| ByteArrayInputStream |
This class permits an array of bytes to be read as an input stream.
|
| ByteArrayOutputStream |
This class allows data to be written to a byte array buffer and
and then retrieved by an application.
|
| CharArrayReader |
This class permits an array of chars to be read as an input stream.
|
| CharArrayWriter |
This class allows data to be written to a char array buffer and
and then retrieved by an application.
|
| DataInputStream |
This subclass of
FilteredInputStream implements the
DataInput interface that provides method for reading primitive
Java data types from a stream. |
| DataOutputStream |
This class provides a mechanism for writing primitive Java datatypes
to an
OutputStream in a portable way. |
| File |
This class represents a file or directory on a local disk.
|
| FileDescriptor | |
| FileInputStream | |
| FileOutputStream | |
| FileReader |
This class provides a convenient way to set up a
Reader
to read from a file. |
| FileWriter |
This is a convenience class for writing to files.
|
| FilterInputStream |
This is the common superclass of all standard classes that filter
input.
|
| FilterOutputStream |
This class is the common superclass of output stream classes that
filter the output they write.
|
| FilterReader |
This is the common superclass of all standard classes that filter
input.
|
| FilterWriter |
This class is the common superclass of output character stream classes
that filter the output they write.
|
| InputStream |
This abstract class forms the base of the hierarchy of classes that read
input as a stream of bytes.
|
| InputStreamReader |
This class reads characters from a byte input stream.
|
| LineNumberInputStream | Deprecated
This class is deprecated in favor if
LineNumberReader because it operates on ASCII bytes
instead of an encoded character stream. |
| LineNumberReader |
This class functions like a standard
Reader except that it
counts line numbers, and canonicalizes newline characters. |
| OutputStream |
This abstract class forms the base of the hierarchy of classes that
write output as a stream of bytes.
|
| OutputStreamWriter |
This class writes characters to an output stream that is byte oriented
It converts the chars that are written to bytes using an encoding layer,
which is specific to a particular encoding standard.
|
| PrintStream |
This class prints Java primitive values and object to a stream as
text.
|
| PrintWriter |
This class prints Java primitive values and objects to a stream as
text.
|
| PushbackInputStream |
This subclass of
FilterInputStream provides the ability to
unread data from a stream. |
| PushbackReader |
This subclass of
FilterReader provides the ability to
unread data from a stream. |
| RandomAccessFile |
This class allows reading and writing of files at random locations.
|
| Reader |
This abstract class forms the base of the hierarchy of classes that read
input as a stream of characters.
|
| StringReader |
This class permits a
String to be read as a character
input stream. |
| StringWriter |
This class writes chars to an internal
StringBuffer that
can then be used to retrieve a String. |
| Writer |
This abstract class forms the base of the hierarchy of classes that
write output as a stream of chars.
|
| Exception | Description |
|---|---|
| CharConversionException | |
| EOFException |
This exception is thrown when an InputStream ends unexpectantly.
|
| FileNotFoundException |
This exception is thrown when an InputStream ends unexpectantly.
|
| InterruptedIOException |
This exception is thrown to indicate an I/O problem of some sort
occurred.
|
| InvalidClassException |
This exception is thrown when there is some sort of problem with a
class during a serialization operation.
|
| InvalidObjectException |
This exception is thrown when an object fails a validation test
during serialization.
|
| IOException |
This exception is thrown to indicate an I/O problem of some sort
occurred.
|
| ObjectStreamException |
This exception is thrown when a problem occurs during serialization.
|
| StreamCorruptedException |
This exception is thrown when there is an error in the data that is
read from a stream during de-serialization.
|
| SyncFailedException | |
| UnsupportedEncodingException |
This exception is thrown when the requested character encoding is
not supported.
|
| UTFDataFormatException |
When reading a UTF string from an input stream, this exception is thrown
to indicate that the data read is invalid.
|