Constructor and Description |
---|
Charsets() |
public Charsets()
public static Charset toCharset(String charsetName)
charsetName
- The name of the requested charset; may be a canonical name, an alias, or null. If null, return the
default charset.public static Charset toCharset(String charsetName, String defaultCharsetName)
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 nullCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.