Package org.apache.commons.io.charset
Class CharsetDecoders
- java.lang.Object
-
- org.apache.commons.io.charset.CharsetDecoders
-
public final class CharsetDecoders extends java.lang.Object
Works withCharsetDecoder
.- Since:
- 2.12.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.nio.charset.CharsetDecoder
toCharsetDecoder(java.nio.charset.CharsetDecoder charsetDecoder)
Returns the given non-null CharsetDecoder or a new default CharsetDecoder.
-
-
-
Method Detail
-
toCharsetDecoder
public static java.nio.charset.CharsetDecoder toCharsetDecoder(java.nio.charset.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.
-
-