Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Package java.io

Interface Summary
DataInput The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
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.
Externalizable Externalization allows a class to specify the methods to be used to write the object's contents to a stream and to read them back.
FilenameFilter Instances of classes that implement this interface are used to filter filenames.
ObjectInput ObjectInput extends the DataInput interface to include the reading of objects.
ObjectInputValidation Callback interface to allow validation of objects within a graph.
ObjectOutput ObjectOutput extends the DataOutput interface to include writing of objects.
ObjectStreamConstants  
Replaceable The Replaceable interface allows a serializable class to designate an alternative object to be used when the object is written to the stream.
Resolvable The Resolvable interface allows a serializable class to designate designate it's replacement when it's read from the stream.
Serializable Serializability of a class is enabled by the class implementing the java.io.Serializable interface.
 

Class Summary
BufferedInputStream The class implements a buffered input stream.
BufferedOutputStream The class implements a buffered output stream.
BufferedReader Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
BufferedWriter Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
ByteArrayInputStream This class allows an application to create an input stream in which the bytes read are supplied by the contents of a byte array.
ByteArrayOutputStream This class implements an output stream in which the data is written into a byte array.
CharArrayReader This class implements a character buffer that can be used as a character-input stream.
CharArrayWriter This class implements a character buffer that can be used as an Writer.
DataInputStream A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
DataOutputStream A data input stream lets an application write primitive Java data types to an output stream in a portable way.
File Instances of this class represent the name of a file or directory on the host file system.
FileDescriptor Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file or an open socket.
FileInputStream A file input stream is an input stream for reading data from a File or from a FileDescriptor.
FileOutputStream A file output stream is an output stream for writing data to a File or to a FileDescriptor.
FilePermission This class represents access to a file or directory.
FileReader Convenience class for reading character files.
FileWriter Convenience class for writing character files.
FilterInputStream This class is the superclass of all classes that filter input streams.
FilterOutputStream This class is the superclass of all classes that filter output streams.
FilterReader Abstract class for reading filtered character streams.
FilterWriter Abstract class for writing filtered character streams.
InputStream This abstract class is the superclass of all classes representing an input stream of bytes.
InputStreamReader An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters according to a specified character encoding.
LineNumberInputStream This class is an input stream filter that provides the added functionality of keeping track of the current line number. 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.
LineNumberReader A buffered character-input stream that keeps track of line numbers.
ObjectInputStream An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.
ObjectInputStream.GetField Provide access to the persistent fields read from the input stream.
ObjectOutputStream An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.
ObjectOutputStream.PutField Provide programatic access to the persistent fields to be written to ObjectOutput.
ObjectStreamClass A ObjectStreamClass describes a class that can be serialized to a stream or a class that was serialized to a stream.
ObjectStreamField A description of a field in a serializable class.
OutputStream This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStreamWriter Write characters to an output stream, translating characters into bytes according to a specified character encoding.
PipedInputStream A piped input stream can be connected to a piped output stream to create a communications pipe.
PipedOutputStream A piped output stream can be connected to a piped input stream to create a communications pipe.
PipedReader Piped character-input streams.
PipedWriter Piped character-output streams.
PrintStream Print values and objects to an output stream, using the platform's default character encoding to convert characters into bytes.
PrintWriter Print formatted representations of objects to a text-output stream.
PushbackInputStream This class is an input stream filter that provides a buffer into which data can be "unread." An application may unread data at any time by pushing it back into the buffer, as long as the buffer has sufficient room.
PushbackReader A character-stream reader that allows characters to be pushed back into the stream.
RandomAccessFile Instances of this class support both reading and writing to a random access file.
Reader Abstract class for reading character streams.
SequenceInputStream The sequence input stream class allows an application to combine several input streams serially and make them appear as if they were a single input stream.
SerializablePermission This class is for Serializable permissions.
StreamTokenizer The StreamTokenizer class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.
StringBufferInputStream This class allows an application to create an input stream in which the bytes read are supplied by the contents of a string. 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.
StringReader A character stream whose source is a string.
StringWriter A character stream that collects its output in a string buffer, which can then be used to construct a string.
Writer Abstract class for writing to character streams.
 

Exception Summary
CharConversionException base class for character conversion exceptions
EOFException Signals that an end of file or end of stream has been reached unexpectedly during input.
FileNotFoundException Signals that a file could not be found.
IOException Signals that an I/O exception of some sort has occurred.
InterruptedIOException Signals that an I/O operation has been interrupted.
InvalidClassException Raised when the Serialization runtime detects a problem with a Class.
InvalidObjectException Indicates that one or more deserialized objects failed validation tests.
NotActiveException The NotActiveException is thrown when serialization or deserialization is not active.
NotSerializableException Raised by a class or the serialization runtime when a class may not be serialized.
ObjectStreamException Superclass of all exceptions specific to Object Stream classes.
OptionalDataException Unexpected data appeared in an ObjectInputStream trying to read an Object.
StreamCorruptedException Raised when control information read from an object stream violates internal consistency checks.
SyncFailedException  
UTFDataFormatException Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
UnsupportedEncodingException The Character Encoding is not supported
WriteAbortedException  
 


Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.