throw new IllegalArgumentException();
}
checkCharsetName(charsetName);
// try built-in charsets
if (_builtInProvider == null) {
_builtInProvider = new CharsetProviderImpl();
}
cs = _builtInProvider.charsetForName(charsetName);
if (null != cs) {
cacheCharset(cs, charsetName);
return cs;