Class CharsetDecoders
java.lang.Object
org.apache.commons.io.charset.CharsetDecoders
-
Method Summary
Modifier and TypeMethodDescriptionstatic CharsetDecodertoCharsetDecoder(CharsetDecoder charsetDecoder) Returns the given non-null CharsetDecoder or a new default CharsetDecoder.
-
Method Details
-
toCharsetDecoder
Returns the given non-null CharsetDecoder or a new default CharsetDecoder.Null input maps to the virtual machine's default charset decoder.
- Parameters:
charsetDecoder- The CharsetDecoder to test.- Returns:
- the given non-null CharsetDecoder or a new default CharsetDecoder.
-