Package org.apache.commons.net.util
Class Charsets
java.lang.Object
org.apache.commons.net.util.Charsets
Helps to deal with Charsets.
- Since:
- 3.3
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
CharsetsDeprecated.Will be removed in 2.0.Depreacted.
 
- 
- 
Method Details- 
toCharsetReturns a charset object for the given charset name.- Parameters:
- charsetName- The name of the requested charset; may be a canonical name, an alias, or null. If null, return the default charset.
- Returns:
- A charset object for the named charset
 
- 
toCharsetReturns a charset object for the given charset name.- Parameters:
- charsetName- The name of the requested charset; may be a canonical name, an alias, or null. If null, return the default charset.
- defaultCharsetName- the charset name to use if the requested charset is null
- Returns:
- A charset object for the named charset
 
 
-