## Uses of Class
java.io.UnsupportedEncodingException

- Packages that use UnsupportedEncodingException
  Package | Description
  --- | ---
  java.io |
  java.lang |

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

    Methods in java.io that throw UnsupportedEncodingException
    Modifier and Type | Method and Description
    --- | ---
    `String` | ByteArrayOutputStream.`toString(String charsetName)` Converts the buffer's contents into a string by decoding the bytes using the specified `charsetName`.

    Constructors in java.io that throw UnsupportedEncodingException
    Constructor and Description
    `InputStreamReader(InputStream in, String charsetName)` Creates an InputStreamReader that uses the named charset.

  - ### Uses of UnsupportedEncodingException in java.lang

    Methods in java.lang that throw UnsupportedEncodingException
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | String.`getBytes(String charsetName)` Encodes this `String` into a sequence of bytes using the named charset, storing the result into a new byte array.

    Constructors in java.lang that throw UnsupportedEncodingException
    Constructor and Description
    `String(byte[] bytes, int offset, int length, String charsetName)` Constructs a new `String` by decoding the specified subarray of bytes using the specified charset.
    `String(byte[] bytes, String charsetName)` Constructs a new `String` by decoding the specified array of bytes using the specified charset.

Copyright © 2025 API Design. All Rights Reserved.