## Uses of Class
java.io.IOException

- Packages that use IOException
  Package | Description
  --- | ---
  java.io |
  java.lang |
  java.net |
  org.apidesign.vm4brwsr.api |

- - ### Uses of IOException in java.io

    Subclasses of IOException in java.io
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EOFException` Signals that an end of file or end of stream has been reached unexpectedly during input.
    `class` | `UnsupportedEncodingException` The Character Encoding is not supported.
    `class` | `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.

    Methods in java.io that throw IOException
    Modifier and Type | Method and Description
    --- | ---
    `int` | PushbackInputStream.`available()` Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
    `int` | InputStream.`available()` Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
    `int` | FilterInputStream.`available()` Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
    `abstract void` | Reader.`close()` Closes the stream and releases any system resources associated with it.
    `void` | PushbackInputStream.`close()` Closes this input stream and releases any system resources associated with the stream.
    `void` | OutputStream.`close()` Closes this output stream and releases any system resources associated with this stream.
    `void` | InputStreamReader.`close()`
    `void` | InputStream.`close()` Closes this input stream and releases any system resources associated with the stream.
    `void` | FilterInputStream.`close()` Closes this input stream and releases any system resources associated with the stream.
    `void` | Closeable.`close()` Closes this stream and releases any system resources associated with it.
    `void` | ByteArrayOutputStream.`close()` Closing a `ByteArrayOutputStream` has no effect.
    `void` | ByteArrayInputStream.`close()` Closing a `ByteArrayInputStream` has no effect.
    `void` | OutputStream.`flush()` Flushes this output stream and forces any buffered output bytes to be written out.
    `void` | Flushable.`flush()` Flushes this stream by writing any buffered output to the underlying stream.
    `void` | Reader.`mark(int readAheadLimit)` Marks the present position in the stream.
    `int` | Reader.`read()` Reads a single character.
    `int` | PushbackInputStream.`read()` Reads the next byte of data from this input stream.
    `int` | InputStreamReader.`read()` Reads a single character.
    `abstract int` | InputStream.`read()` Reads the next byte of data from the input stream.
    `int` | FilterInputStream.`read()` Reads the next byte of data from this input stream.
    `int` | InputStream.`read(byte[] b)` Reads some number of bytes from the input stream and stores them into the buffer array `b`.
    `int` | FilterInputStream.`read(byte[] b)` Reads up to `byte.length` bytes of data from this input stream into an array of bytes.
    `int` | DataInputStream.`read(byte[] b)` Reads some number of bytes from the contained input stream and stores them into the buffer array `b`.
    `int` | PushbackInputStream.`read(byte[] b, int off, int len)` Reads up to `len` bytes of data from this input stream into an array of bytes.
    `int` | InputStream.`read(byte[] b, int off, int len)` Reads up to `len` bytes of data from the input stream into an array of bytes.
    `int` | FilterInputStream.`read(byte[] b, int off, int len)` Reads up to `len` bytes of data from this input stream into an array of bytes.
    `int` | DataInputStream.`read(byte[] b, int off, int len)` Reads up to `len` bytes of data from the contained input stream into an array of bytes.
    `int` | Reader.`read(char[] cbuf)` Reads characters into an array.
    `abstract int` | Reader.`read(char[] cbuf, int off, int len)` Reads characters into a portion of an array.
    `int` | InputStreamReader.`read(char[] cbuf, int offset, int length)` Reads characters into a portion of an array.
    `int` | Reader.`read(CharBuffer target)` Attempts to read characters into the specified character buffer.
    `boolean` | DataInputStream.`readBoolean()` See the general contract of the `readBoolean` method of `DataInput`.
    `boolean` | DataInput.`readBoolean()` Reads one input byte and returns `true` if that byte is nonzero, `false` if that byte is zero.
    `byte` | DataInputStream.`readByte()` See the general contract of the `readByte` method of `DataInput`.
    `byte` | DataInput.`readByte()` Reads and returns one input byte.
    `char` | DataInputStream.`readChar()` See the general contract of the `readChar` method of `DataInput`.
    `char` | DataInput.`readChar()` Reads two input bytes and returns a `char` value.
    `double` | DataInputStream.`readDouble()` See the general contract of the `readDouble` method of `DataInput`.
    `double` | DataInput.`readDouble()` Reads eight input bytes and returns a `double` value.
    `float` | DataInputStream.`readFloat()` See the general contract of the `readFloat` method of `DataInput`.
    `float` | DataInput.`readFloat()` Reads four input bytes and returns a `float` value.
    `void` | DataInputStream.`readFully(byte[] b)` See the general contract of the `readFully` method of `DataInput`.
    `void` | DataInput.`readFully(byte[] b)` Reads some bytes from an input stream and stores them into the buffer array `b`.
    `void` | DataInputStream.`readFully(byte[] b, int off, int len)` See the general contract of the `readFully` method of `DataInput`.
    `void` | DataInput.`readFully(byte[] b, int off, int len)` Reads `len` bytes from an input stream.
    `int` | DataInputStream.`readInt()` See the general contract of the `readInt` method of `DataInput`.
    `int` | DataInput.`readInt()` Reads four input bytes and returns an `int` value.
    > `String` | DataInputStream.`readLine()` Deprecated. This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the `BufferedReader.readLine()` method. Programs that use the `DataInputStream` class to read lines can be converted to use the `BufferedReader` class by replacing code of the form:
    >          DataInputStream d = new DataInputStream(in);
    > with:
    >          BufferedReader d
    >               = new BufferedReader(new InputStreamReader(in));
    `String` | DataInput.`readLine()` Reads the next line of text from the input stream.
    `long` | DataInputStream.`readLong()` See the general contract of the `readLong` method of `DataInput`.
    `long` | DataInput.`readLong()` Reads eight input bytes and returns a `long` value.
    `short` | DataInputStream.`readShort()` See the general contract of the `readShort` method of `DataInput`.
    `short` | DataInput.`readShort()` Reads two input bytes and returns a `short` value.
    `int` | DataInputStream.`readUnsignedByte()` See the general contract of the `readUnsignedByte` method of `DataInput`.
    `int` | DataInput.`readUnsignedByte()` Reads one input byte, zero-extends it to type `int`, and returns the result, which is therefore in the range `0` through `255`.
    `int` | DataInputStream.`readUnsignedShort()` See the general contract of the `readUnsignedShort` method of `DataInput`.
    `int` | DataInput.`readUnsignedShort()` Reads two input bytes and returns an `int` value in the range `0` through `65535`.
    `String` | DataInputStream.`readUTF()` See the general contract of the `readUTF` method of `DataInput`.
    `String` | DataInput.`readUTF()` Reads in a string that has been encoded using a modified UTF-8 format.
    `static String` | DataInputStream.`readUTF(DataInput in)` Reads from the stream `in` a representation of a Unicode character string encoded in modified UTF-8 format; this string of characters is then returned as a `String`.
    `boolean` | Reader.`ready()` Tells whether this stream is ready to be read.
    `boolean` | InputStreamReader.`ready()` Tells whether this stream is ready to be read.
    `void` | Reader.`reset()` Resets the stream.
    `void` | PushbackInputStream.`reset()` Repositions this stream to the position at the time the `mark` method was last called on this input stream.
    `void` | InputStream.`reset()` Repositions this stream to the position at the time the `mark` method was last called on this input stream.
    `void` | FilterInputStream.`reset()` Repositions this stream to the position at the time the `mark` method was last called on this input stream.
    `long` | Reader.`skip(long n)` Skips characters.
    `long` | PushbackInputStream.`skip(long n)` Skips over and discards `n` bytes of data from this input stream.
    `long` | InputStream.`skip(long n)` Skips over and discards `n` bytes of data from this input stream.
    `long` | FilterInputStream.`skip(long n)` Skips over and discards `n` bytes of data from the input stream.
    `int` | DataInputStream.`skipBytes(int n)` See the general contract of the `skipBytes` method of `DataInput`.
    `int` | DataInput.`skipBytes(int n)` Makes an attempt to skip over `n` bytes of data from the input stream, discarding the skipped bytes.
    `void` | PushbackInputStream.`unread(byte[] b)` Pushes back an array of bytes by copying it to the front of the pushback buffer.
    `void` | PushbackInputStream.`unread(byte[] b, int off, int len)` Pushes back a portion of an array of bytes by copying it to the front of the pushback buffer.
    `void` | PushbackInputStream.`unread(int b)` Pushes back a byte by copying it to the front of the pushback buffer.
    `void` | OutputStream.`write(byte[] b)` Writes `b.length` bytes from the specified byte array to this output stream.
    `void` | OutputStream.`write(byte[] b, int off, int len)` Writes `len` bytes from the specified byte array starting at offset `off` to this output stream.
    `abstract void` | OutputStream.`write(int b)` Writes the specified byte to this output stream.
    `void` | ByteArrayOutputStream.`writeTo(OutputStream out)` Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using `out.write(buf, 0, count)`.

  - ### Uses of IOException in java.lang

    Methods in java.lang that throw IOException
    Modifier and Type | Method and Description
    --- | ---
    `Appendable` | Appendable.`append(char c)` Appends the specified character to this `Appendable`.
    `Appendable` | Appendable.`append(CharSequence csq)` Appends the specified character sequence to this `Appendable`.
    `Appendable` | Appendable.`append(CharSequence csq, int start, int end)` Appends a subsequence of the specified character sequence to this `Appendable`.
    `protected Enumeration<URL>` | ClassLoader.`findResources(String name)` Returns an enumeration of ``URL`` objects representing all the resources with the given name.
    `Enumeration<URL>` | ClassLoader.`getResources(String name)` Finds all the resources with the given name.
    `static Enumeration<URL>` | ClassLoader.`getSystemResources(String name)` Finds all resources of the specified name from the search path used to load classes.
    `int` | Readable.`read(CharBuffer cb)` Attempts to read characters into the specified character buffer.

  - ### Uses of IOException in java.net

    Subclasses of IOException in java.net
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MalformedURLException` Thrown to indicate that a malformed URL has occurred.

    Methods in java.net that throw IOException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | URL.`getContent()` Gets the contents of this URL.
    `Object` | URL.`getContent(Class[] classes)` Gets the contents of this URL.
    `URLConnection` | URL.`openConnection()` Returns a `URLConnection` instance that represents a connection to the remote object referred to by the `URL`.
    `protected abstract URLConnection` | URLStreamHandler.`openConnection(URL u)` Opens a connection to the object referenced by the `URL` argument.
    `InputStream` | URL.`openStream()` Opens a connection to this `URL` and returns an `InputStream` for reading from that connection.

  - ### Uses of IOException in org.apidesign.vm4brwsr.api

    Methods in org.apidesign.vm4brwsr.api that throw IOException
    Modifier and Type | Method and Description
    --- | ---
    `static void` | VM.`reload(Class<?> clazz, byte[] byteCode)` Takes an existing class and replaces its existing byte code with new one.

Copyright © 2025 API Design. All Rights Reserved.