Home » openjdk-7 » java » io »

java.io

Interfaces:

Closeable   A {@code Closeable} is a source or destination of data that can be closed.  code | html
DataInput   The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.  code | html
DataOutput   The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.  code | html
Externalizable   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.  code | html
FileFilter   A filter for abstract pathnames.  code | html
FilenameFilter   Instances of classes that implement this interface are used to filter filenames.  code | html
Flushable   A Flushable is a destination of data that can be flushed.  code | html
ObjectInput   ObjectInput extends the DataInput interface to include the reading of objects.  code | html
ObjectInputValidation   Callback interface to allow validation of objects within a graph.  code | html
ObjectOutput   ObjectOutput extends the DataOutput interface to include writing of objects.  code | html
ObjectStreamConstants   Constants written into the Object Serialization Stream.  code | html
Serializable   Serializability of a class is enabled by the class implementing the java.io.Serializable interface.  code | html

Abstract Classes:

FileSystem   Package-private abstract class for the local filesystem abstraction.  code | html
FilterReader   Abstract class for reading filtered character streams.  code | html
FilterWriter   Abstract class for writing filtered character streams.  code | html
InputStream   This abstract class is the superclass of all classes representing an input stream of bytes.  code | html
ObjectInputStream.GetField   Provide access to the persistent fields read from the input stream.  code | html
ObjectOutputStream.PutField   Provide programmatic access to the persistent fields to be written to ObjectOutput.  code | html
ObjectStreamException   Superclass of all exceptions specific to Object Stream classes.  code | html
OutputStream   This abstract class is the superclass of all classes representing an output stream of bytes.  code | html
Reader   Abstract class for reading character streams.  code | html
Writer   Abstract class for writing to character streams.  code | html

Classes:

Bits   Utility methods for packing/unpacking primitive values in/out of byte arrays using big-endian byte ordering.  code | html
BufferedInputStream   A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods.  code | html
BufferedOutputStream   The class implements a buffered output stream.  code | html
BufferedReader   Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.  code | html
BufferedWriter   Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.  code | html
ByteArrayInputStream   A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.  code | html
ByteArrayOutputStream   This class implements an output stream in which the data is written into a byte array.  code | html
CharArrayReader   This class implements a character buffer that can be used as a character-input stream.  code | html
CharArrayWriter   This class implements a character buffer that can be used as an Writer.  code | html
CharConversionException   Base class for character conversion exceptions.  code | html
Console   Methods to access the character-based console device, if any, associated with the current Java virtual machine.  code | html
Console.LineReader     code | html
DataInputStream   A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.  code | html
DataOutputStream   A data output stream lets an application write primitive Java data types to an output stream in a portable way.  code | html
DeleteFileHelper     code | html
DeleteOnExitHook   This class holds a set of filenames to be deleted on VM exit through a shutdown hook.  code | html
EOFException   Signals that an end of file or end of stream has been reached unexpectedly during input.  code | html
EmulatedFields   An EmulatedFields is an object that represents a set of emulated fields for an object being dumped or loaded.  code | html
EmulatedFields.ObjectSlot     code | html
EmulatedFieldsForDumping   An EmulatedFieldsForDumping is an object that represents a set of emulated fields for an object being dumped.  code | html
EmulatedFieldsForLoading   An EmulatedFieldsForLoading is an object that represents a set of emulated fields for an object being loaded.  code | html
ExpiringCache     code | html
ExpiringCache.Entry     code | html
File   An abstract representation of file and directory pathnames.  code | html
File.TempDirectory     code | html
FileDescriptor   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.  code | html
FileInputStream   A FileInputStream obtains input bytes from a file in a file system.  code | html
FileNotFoundException   Signals that an attempt to open the file denoted by a specified pathname has failed.  code | html
FileOutputStream   A file output stream is an output stream for writing data to a File or to a FileDescriptor code | html
FilePermission   This class represents access to a file or directory.  code | html
FilePermissionCollection   Collects FilePermission objects and allows to query whether a particular permission is implied by it.  code | html
FilePermissionCollection   A FilePermissionCollection stores a set of FilePermission permissions.  code | html
FileReader   Convenience class for reading character files.  code | html
FileWriter   Convenience class for writing character files.  code | html
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.  code | html
FilterOutputStream   This class is the superclass of all classes that filter output streams.  code | html
IOError   Thrown when a serious I/O error has occurred.  code | html
IOException   Signals that an I/O exception of some sort has occurred.  code | html
InputStreamReader   An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset code | html
InterruptedIOException   Signals that an I/O operation has been interrupted.  code | html
InvalidClassException   Thrown when the Serialization runtime detects one of the following problems with a Class.  code | html
InvalidObjectException   Indicates that one or more deserialized objects failed validation tests.  code | html
LineNumberInputStream   This class is an input stream filter that provides the added functionality of keeping track of the current line number.  code | html
LineNumberReader   A buffered character-input stream that keeps track of line numbers.  code | html
NotActiveException   Thrown when serialization or deserialization is not active.  code | html
NotSerializableException   Thrown when an instance is required to have a Serializable interface.  code | html
ObjectInputStream   An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.  code | html
ObjectInputStream.BlockDataInputStream   Input stream with two modes: in default mode, inputs data written in the same format as DataOutputStream; in "block data" mode, inputs data bracketed by block data markers (see object serialization specification for details).  code | html
ObjectInputStream.Caches     code | html
ObjectInputStream.GetFieldImpl   Default GetField implementation.  code | html
ObjectInputStream.HandleTable   Unsynchronized table which tracks wire handle to object mappings, as well as ClassNotFoundExceptions associated with deserialized objects.  code | html
ObjectInputStream.HandleTable.HandleList   Simple growable list of (integer) handles.  code | html
ObjectInputStream.PeekInputStream   Input stream supporting single-byte peek operations.  code | html
ObjectInputStream.ValidationList   Prioritized list of callbacks to be performed once object graph has been completely deserialized.  code | html
ObjectInputStream.ValidationList.Callback     code | html
ObjectOutputStream   An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.  code | html
ObjectOutputStream.BlockDataOutputStream   Buffered output stream with two modes: in default mode, outputs data in same format as DataOutputStream; in "block data" mode, outputs data bracketed by block data markers (see object serialization specification for details).  code | html
ObjectOutputStream.Caches     code | html
ObjectOutputStream.DebugTraceInfoStack   Stack to keep debug information about the state of the serialization process, for embedding in exception messages.  code | html
ObjectOutputStream.HandleTable   Lightweight identity hash table which maps objects to integer handles, assigned in ascending order.  code | html
ObjectOutputStream.PutFieldImpl   Default PutField implementation.  code | html
ObjectOutputStream.ReplaceTable   Lightweight identity hash table which maps objects to replacement objects.  code | html
ObjectStreamClass   Serialization's descriptor for classes.  code | html
ObjectStreamClass.Caches     code | html
ObjectStreamClass.ClassDataSlot   Class representing the portion of an object's serialized form allotted to data described by a given class descriptor.  code | html
ObjectStreamClass.EntryFuture   Placeholder used in class descriptor and field reflector lookup tables for an entry in the process of being initialized.  code | html
ObjectStreamClass.FieldReflector   Class for setting and retrieving serializable field values in batch.  code | html
ObjectStreamClass.FieldReflectorKey   FieldReflector cache lookup key.  code | html
ObjectStreamClass.MemberSignature   Class for computing and caching field/constructor/method signatures during serialVersionUID calculation.  code | html
ObjectStreamClass.WeakClassKey   Weak key for Class objects.  code | html
ObjectStreamField   A description of a Serializable field from a Serializable class.  code | html
OptionalDataException   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.  code | html
OutputStreamWriter   An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified charset code | html
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.  code | html
PipedOutputStream   A piped output stream can be connected to a piped input stream to create a communications pipe.  code | html
PipedReader   Piped character-input streams.  code | html
PipedWriter   Piped character-output streams.  code | html
PrintStream   A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.  code | html
PrintWriter   Prints formatted representations of objects to a text-output stream.  code | html
PushbackInputStream   A PushbackInputStream adds functionality to another input stream, namely the ability to "push back" or "unread" one byte.  code | html
PushbackReader   A character-stream reader that allows characters to be pushed back into the stream.  code | html
RandomAccessFile   Instances of this class support both reading and writing to a random access file.  code | html
SequenceInputStream   A SequenceInputStream represents the logical concatenation of other input streams.  code | html
SerialCallbackContext   Context during upcalls from object stream to class-defined readObject/writeObject methods.  code | html
SerializablePermission   This class is for Serializable permissions.  code | html
StreamCorruptedException   Thrown when control information that was read from an object stream violates internal consistency checks.  code | html
StreamTokenizer   The StreamTokenizer class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.  code | html
StringBufferInputStream   This class allows an application to create an input stream in which the bytes read are supplied by the contents of a string.  code | html
StringReader   A character stream whose source is a string.  code | html
StringWriter   A character stream that collects its output in a string buffer, which can then be used to construct a string.  code | html
SyncFailedException   Signals that a sync operation has failed.  code | html
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.  code | html
UnixFileSystem     code | html
UnsupportedEncodingException   The Character Encoding is not supported.  code | html
VMFile     code | html
VMObjectInputStream     code | html
VMObjectStreamClass     code | html
Win32FileSystem     code | html
WinNTFileSystem   Unicode-aware FileSystem for Windows NT/2000.  code | html
WriteAbortedException   Signals that one of the ObjectStreamExceptions was thrown during a write operation.  code | html