package java.io

Types

class ByteArrayInputStreamA ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
class ByteArrayOutputStreamThis class implements an output stream in which the data is written into a byte array.
interface DataInputThe DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
class DataInputStreamA data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
interface DataOutputThe 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 DataOutputStreamA data output stream lets an application write primitive Java data types to an output stream in a portable way.
class EOFExceptionSignals that an end of file or end of stream has been reached unexpectedly during input.
class FileNotFoundExceptionSignals that an attempt to open the file denoted by a specified pathname has failed.
interface FlushableIndicates that an output object can be flushed.
class IOExceptionSignals that an I/O exception of some sort has occurred.
class InputStreamThis abstract class is the superclass of all classes representing an input stream of bytes.
class InputStreamReaderAn InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
class InterruptedIOExceptionSignals that an I/O operation has been interrupted.
class OutputStreamThis abstract class is the superclass of all classes representing an output stream of bytes.
class OutputStreamWriterAn OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
class PrintStreamA PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
class ReaderAbstract class for reading character streams.
interface SerializableHere to simplify porting, won’t actually work…
class StringReaderA specialized Reader that reads characters from a String in a sequential manner.
class StringWriter
class UTFDataFormatExceptionSignals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
class UnsupportedEncodingExceptionThe Character Encoding is not supported.
class WriterAbstract class for writing to character streams.