Provides for system input and output through data streams, serialization and the file system.
Only the identity of the class of an Externalizable instance is written in the serialization stream and it is the responsibility of the class to save and restore the contents of its instances.
A filter for abstract pathnames.
Instances of classes that implement this interface are used to filter filenames.
ObjectInput extends the DataInput interface to include the reading of objects.
Callback interface to allow validation of objects within a graph.
ObjectOutput extends the DataOutput interface to include writing of objects.
Constants written into the Object Serialization Stream.
Serializability of a class is enabled by the class implementing the java.io.Serializable interface.
The class implements a buffered output stream.
Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
This class implements an output stream in which the data is written into a byte array.
This class implements a character buffer that can be used as a character-input stream.
This class implements a character buffer that can be used as an Writer.
Methods to access the character-based console device, if any, associated with the current Java virtual machine.
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
An abstract representation of file and directory pathnames.
Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file, an open socket, or another source or sink of bytes.
A file output stream is an output stream for writing data to a
This class represents access to a file or directory.
Convenience class for reading character files.
Convenience class for writing character files.
This class is the superclass of all classes that filter output streams.
Abstract class for reading filtered character streams.
Abstract class for writing filtered character streams.
This abstract class is the superclass of all classes representing an input stream of bytes.
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified
This class incorrectly assumes that bytes adequately represent characters.
A buffered character-input stream that keeps track of line numbers.
An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.
Provide access to the persistent fields read from the input stream.
An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.
Provide programmatic access to the persistent fields to be written to ObjectOutput.
Serialization's descriptor for classes.
A description of a Serializable field from a Serializable class.
This abstract class is the superclass of all classes representing an output stream of bytes.
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified
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.
A piped output stream can be connected to a piped input stream to create a communications pipe.
Piped character-input streams.
Piped character-output streams.
Prints formatted representations of objects to a text-output stream.
A character-stream reader that allows characters to be pushed back into the stream.
Instances of this class support both reading and writing to a random access file.
Abstract class for reading character streams.
This class is for Serializable permissions.
This class does not properly convert characters into bytes.
A character stream whose source is a string.
A character stream that collects its output in a string buffer, which can then be used to construct a string.
Abstract class for writing to character streams.
Base class for character conversion exceptions.
Signals that an end of file or end of stream has been reached unexpectedly during input.
Signals that an attempt to open the file denoted by a specified pathname has failed.
Signals that an I/O operation has been interrupted.
Thrown when the Serialization runtime detects one of the following problems with a Class.
Indicates that one or more deserialized objects failed validation tests.
Signals that an I/O exception of some sort has occurred.
Thrown when serialization or deserialization is not active.
Thrown when an instance is required to have a Serializable interface.
Superclass of all exceptions specific to Object Stream classes.
Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream.
Thrown when control information that was read from an object stream violates internal consistency checks.
Signals that a sync operation has failed.
The Character Encoding is not supported.
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.
Signals that one of the ObjectStreamExceptions was thrown during a write operation.
Thrown when a serious I/O error has occurred.
Provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a
NullPointerException to be thrown.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.