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 Details

    • 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.