Package java.io


package java.io
  • Class
    Description
    Reads from another stream through a buffer, so that many small reads become few large ones, and supports mark and reset.
    Writes to another stream through a buffer, so that many small writes become few large ones.
    Reads text from another reader through a buffer, and reads it a line at a time.
    Writes text to another writer through a buffer.
    A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
    This class implements an output stream in which the data is written into a byte array.
    A source or destination of data that holds something until it is closed: every stream, reader and writer.
    The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
    A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
    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.
    A data output stream lets an application write primitive Java data types to an output stream in a portable way.
    Signals that an end of file or end of stream has been reached unexpectedly during input.
    Signals that an attempt to open the file denoted by a specified pathname has failed.
     
     
    Indicates that an output object can be flushed.
    This abstract class is the superclass of all classes representing an input stream of bytes.
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
    Signals that an I/O operation has been interrupted.
    Signals that an I/O exception of some sort has occurred.
    This abstract class is the superclass of all classes representing an output stream of bytes.
    An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
    A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
    Prints formatted text to a writer or a stream.
    Abstract class for reading character streams.
    Here to simplify porting, won't actually work...
    A specialized Reader that reads characters from a String in a sequential manner.
     
    java.io.UncheckedIOException: an IOException carried through code that cannot declare it, as a lambda or a constructor that loads a resource does.
    The Character Encoding is not supported.
    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.
    Abstract class for writing to character streams.