Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package java.io

Provides classes for input and output through data streams.

See:
Description

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.

Class Summary
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 | A `ByteArrayInputStream` contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayOutputStream | This class implements an output stream in which the data is written into a byte array.
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.
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.
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 translated into bytes.
PrintStream | A `PrintStream` adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
PrintWriter | Print formatted representations of objects to a text-output stream.
Reader | Abstract class for reading character streams.
Writer | Abstract class for writing to character streams.

Exception Summary
EOFException | Signals that an end of file or end of stream has been reached unexpectedly during input.
InterruptedIOException | Signals that an I/O operation has been interrupted.
IOException | Signals that an I/O exception of some sort has occurred.
UnsupportedEncodingException | The Character Encoding is not supported.
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.

## Package java.io Description

Provides classes for input and output through data streams. 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.

Since:
  CLDC 1.0, Java Card 3.0

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.