public class CharsetUtils
extends java.lang.Object
| Constructor and Description | 
|---|
CharsetUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
clean(java.lang.String charsetName)
Handle various common charset name errors, and return something
 that will be considered valid (and is normalized) 
 | 
static java.nio.charset.Charset | 
forName(java.lang.String name)
Returns Charset impl, if one exists. 
 | 
static boolean | 
isSupported(java.lang.String charsetName)
Safely return whether  
 | 
public static boolean isSupported(java.lang.String charsetName)
charsetName - Name of charset (can be null)public static java.lang.String clean(java.lang.String charsetName)
charsetName - name of charset to processpublic static java.nio.charset.Charset forName(java.lang.String name)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"