API Overview API Index Direct link to this page
JDK 1.6
  Package: java.io
Author(s)
Since
JDK1.0
Version
Serial
Description
  Provides for system input and output through data streams, serialization and the file system.
See also:   
BufferedInputStream View Source A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods.
BufferedOutputStream View Source The class implements a buffered output stream.
BufferedReader View Source Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
BufferedWriter View Source Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
ByteArrayInputStream View Source A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayOutputStream View Source This class implements an output stream in which the data is written into a byte array.
CharArrayReader View Source This class implements a character buffer that can be used as a character-input stream.
CharArrayWriter View Source This class implements a character buffer that can be used as an Writer.
CharConversionException View Source Base class for character conversion exceptions.
Closeable View Source A Closeable is a source or destination of data that can be closed.
Console View Source Methods to access the character-based console device, if any, associated with the current Java virtual machine.
DataInput View Source The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
DataInputStream View Source A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
DataOutput View Source 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.
DataOutputStream View Source A data output stream lets an application write primitive Java data types to an output stream in a portable way.
EOFException View Source Signals that an end of file or end of stream has been reached unexpectedly during input.
Externalizable View Source 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.
File View Source An abstract representation of file and directory pathnames.
FileFilter View Source A filter for abstract pathnames.
FileInputStream View Source A FileInputStream obtains input bytes from a file in a file system.
FilenameFilter View Source Instances of classes that implement this interface are used to filter filenames.
FileNotFoundException View Source Signals that an attempt to open the file denoted by a specified pathname has failed.
FileOutputStream View Source A file output stream is an output stream for writing data to a File or to a FileDescriptor.
FilePermission View Source This class represents access to a file or directory.
FileReader View Source Convenience class for reading character files.
FileWriter View Source Convenience class for writing character files.
FilterInputStream View Source 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.
FilterOutputStream View Source This class is the superclass of all classes that filter output streams.
FilterReader View Source Abstract class for reading filtered character streams.
FilterWriter View Source Abstract class for writing filtered character streams.
Flushable View Source A Flushable is a destination of data that can be flushed.
InputStream View Source This abstract class is the superclass of all classes representing an input stream of bytes.
InputStreamReader View Source An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset.
InterruptedIOException View Source Signals that an I/O operation has been interrupted.
InvalidClassException View Source Thrown when the Serialization runtime detects one of the following problems with a Class.
InvalidObjectException View Source Indicates that one or more deserialized objects failed validation tests.
IOError View Source Thrown when a serious I/O error has occurred.
IOException View Source Signals that an I/O exception of some sort has occurred.
LineNumberInputStream View Source This class is an input stream filter that provides the added functionality of keeping track of the current line number.
LineNumberReader View Source A buffered character-input stream that keeps track of line numbers.
NotActiveException View Source Thrown when serialization or deserialization is not active.
NotSerializableException View Source Thrown when an instance is required to have a Serializable interface.
ObjectInput View Source ObjectInput extends the DataInput interface to include the reading of objects.
ObjectInputStream View Source An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.
ObjectInputStream.GetField View Source Provide access to the persistent fields read from the input stream.
ObjectInputValidation View Source Callback interface to allow validation of objects within a graph.
ObjectOutput View Source ObjectOutput extends the DataOutput interface to include writing of objects.
ObjectOutputStream View Source An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.
ObjectOutputStream.PutField View Source Provide programmatic access to the persistent fields to be written to ObjectOutput.
ObjectStreamClass View Source Serialization's descriptor for classes.
ObjectStreamConstants View Source Constants written into the Object Serialization Stream.
ObjectStreamException View Source Superclass of all exceptions specific to Object Stream classes.
ObjectStreamField View Source A description of a Serializable field from a Serializable class.
OptionalDataException View Source 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.
OutputStream View Source This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStreamWriter View Source An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified charset.
PipedInputStream View Source 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.
PipedOutputStream View Source A piped output stream can be connected to a piped input stream to create a communications pipe.
PipedReader View Source Piped character-input streams.
PipedWriter View Source Piped character-output streams.
PrintStream View Source A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
PrintWriter View Source Prints formatted representations of objects to a text-output stream.
PushbackInputStream View Source A PushbackInputStream adds functionality to another input stream, namely the ability to "push back" or "unread" one byte.
PushbackReader View Source A character-stream reader that allows characters to be pushed back into the stream.
RandomAccessFile View Source Instances of this class support both reading and writing to a random access file.
Reader View Source Abstract class for reading character streams.
SequenceInputStream View Source A SequenceInputStream represents the logical concatenation of other input streams.
Serializable View Source Serializability of a class is enabled by the class implementing the java.io.Serializable interface.
SerializablePermission View Source This class is for Serializable permissions.
StreamCorruptedException View Source Thrown when control information that was read from an object stream violates internal consistency checks.
StreamTokenizer View Source The StreamTokenizer class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.
StringBufferInputStream View Source This class allows an application to create an input stream in which the bytes read are supplied by the contents of a string.
StringReader View Source A character stream whose source is a string.
StringWriter View Source A character stream that collects its output in a string buffer, which can then be used to construct a string.
SyncFailedException View Source Signals that a sync operation has failed.
UnsupportedEncodingException View Source The Character Encoding is not supported.
UTFDataFormatException View Source 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.
WriteAbortedException View Source Signals that one of the ObjectStreamExceptions was thrown during a write operation.
Writer View Source Abstract class for writing to character streams.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar