Java.IO Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
BufferedInputStream |
A |
BufferedOutputStream |
The class implements a buffered output stream. |
BufferedReader |
Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines. |
BufferedWriter |
Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings. |
ByteArrayInputStream |
A |
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. |
CharConversionException |
Base class for character conversion exceptions. |
Console |
Methods to access the character-based console device, if any, associated with the current Java virtual machine. |
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 output stream lets an application write primitive Java data types to an output stream in a portable way. |
EOFException |
Signals that an end of file or end of stream has been reached unexpectedly during input. |
File |
An abstract representation of file and directory pathnames. |
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. |
FileInputStream |
A |
FileNotFoundException |
Signals that an attempt to open the file denoted by a specified pathname has failed. |
FileOutputStream |
A file output stream is an output stream for writing data to a
|
FilePermission |
Legacy security code; do not use. |
FileReader |
Reads text from character files using a default buffer size. |
FileWriter |
Writes text to character files using a default buffer size. |
FilterInputStream |
A |
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. |
IDataInputExtensions | |
IDataOutputExtensions | |
IExternalizableExtensions | |
IFlushableExtensions | |
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 decodes them into characters using a specified |
InterruptedIOException |
Signals that an I/O operation has been interrupted. |
InvalidClassException |
Thrown when the Serialization runtime detects one of the following problems with a Class. |
InvalidObjectException |
Indicates that one or more deserialized objects failed validation tests. |
IObjectInputExtensions | |
IObjectOutputExtensions | |
IOError |
Thrown when a serious I/O error has occurred. |
IOException |
Signals that an I/O exception of some sort has occurred. |
LineNumberInputStream |
This class is an input stream filter that provides the added functionality of keeping track of the current line number. |
LineNumberReader |
A buffered character-input stream that keeps track of line numbers. |
NotActiveException |
Thrown when serialization or deserialization is not active. |
NotSerializableException |
Thrown when an instance is required to have a Serializable interface. |
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. |
ObjectInputStream.InterfaceConsts | |
ObjectOutputStream |
An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream. |
ObjectOutputStream.InterfaceConsts | |
ObjectOutputStream.PutField |
Provide programmatic access to the persistent fields to be written to ObjectOutput. |
ObjectStreamClass |
Serialization's descriptor for classes. |
ObjectStreamConstants |
A helper interface with constants used by the serialization implementation. |
ObjectStreamException |
Superclass of all exceptions specific to Object Stream classes. |
ObjectStreamField |
A description of a Serializable field from a Serializable class. |
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. |
OutputStream |
This abstract class is the superclass of all classes representing an output stream of bytes. |
OutputStreamWriter |
An OutputStreamWriter is a bridge from character streams to byte streams:
Characters written to it are encoded into bytes using a specified |
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. |
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 |
A |
PrintWriter |
Prints formatted representations of objects to a text-output stream. |
PushbackInputStream |
A |
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 |
A |
SerialAttribute | |
SerializablePermission |
This legacy security is not supported on Android. |
StreamCorruptedException |
Thrown when control information that was read from an object stream violates internal consistency checks. |
StreamTokenizer |
The |
StringBufferInputStream |
This class allows an application to create an input stream in which the bytes read are supplied by the contents of a string. |
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. |
SyncFailedException |
Signals that a sync operation has failed. |
UncheckedIOException |
Wraps an |
UnsupportedEncodingException |
The Character Encoding is not supported. |
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. |
WriteAbortedException |
Signals that one of the ObjectStreamExceptions was thrown during a write operation. |
Writer |
Abstract class for writing to character streams. |
Interfaces
ICloseable |
A |
IDataInput |
The |
IDataOutput |
The |
IExternalizable |
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. |
IFileFilter |
A filter for abstract pathnames. |
IFilenameFilter |
Instances of classes that implement this interface are used to filter filenames. |
IFlushable |
A |
IObjectInput |
ObjectInput extends the DataInput interface to include the reading of objects. |
IObjectInputValidation |
Callback interface to allow validation of objects within a graph. |
IObjectOutput |
ObjectOutput extends the DataOutput interface to include writing of objects. |
IObjectStreamConstants |
Constants written into the Object Serialization Stream. |
ISerial |
Indicates that an annotated field or method is part of the Serializable serialization mechanism defined by the <cite>Java Object Serialization Specification</cite>. |
ISerializable |
Serializability of a class is enabled by the class implementing the java. |
Enums
ObjectStreamProtocol |
Enumerates values returned by several types and taken as a parameter of the F:Java.IO.ObjectOutputStream.UseProtocolVersion member. |
TokenType |
Enumerates values returned by several types. |