Package org.apache.commons.io.charset
Class CharsetDecoders
java.lang.Object
org.apache.commons.io.charset.CharsetDecoders
Works with 
CharsetDecoder.- Since:
- 2.12.0
- 
Method SummaryModifier and TypeMethodDescriptionstatic CharsetDecodertoCharsetDecoder(CharsetDecoder charsetDecoder) Returns the given non-null CharsetDecoder or a new default CharsetDecoder.
- 
Method Details- 
toCharsetDecoderReturns the given non-null CharsetDecoder or a new default CharsetDecoder.Null input maps to the virtual machine's default charsetdecoder.- Parameters:
- charsetDecoder- The CharsetDecoder to test.
- Returns:
- the given non-null CharsetDecoder or a new default CharsetDecoder.
 
 
-