org.apache.commons.io.charset

## Class CharsetDecoders

- java.lang.Object
- - org.apache.commons.io.charset.CharsetDecoders

-     public final class CharsetDecoders
      extends Object

  Works with `CharsetDecoder`.
  Since:
    2.12.0

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CharsetDecoder` | `toCharsetDecoder(CharsetDecoder charsetDecoder)` Returns the given non-null CharsetDecoder or a new default CharsetDecoder.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### toCharsetDecoder

          public static CharsetDecoder toCharsetDecoder(CharsetDecoder charsetDecoder)

      Returns the given non-null CharsetDecoder or a new default CharsetDecoder.
      Parameters:
        `charsetDecoder` - The CharsetDecoder to test.
      Returns:
        the given non-null CharsetDecoder or a new default CharsetDecoder.

Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.