public final class CharsetProviderICU extends CharsetProvider
| Constructor and Description |
|---|
CharsetProviderICU()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Charset |
charsetForName(String charsetName)
Constructs a charset for the given charset name.
|
Iterator |
charsets()
Returns an iterator for the available charsets.
|
static String[] |
getAllNames()
Deprecated.
This API is ICU internal only.
|
static Object[] |
getAvailableNames()
Deprecated.
This API is ICU internal only.
|
static String |
getICUCanonicalName(String enc)
Deprecated.
This API is ICU internal only.
|
static String |
getJavaCanonicalName(String charsetName)
Deprecated.
This API is ICU internal only.
|
public final Charset charsetForName(String charsetName)
charsetForName in class CharsetProvidercharsetName - charset namepublic static final String getICUCanonicalName(String enc) throws UnsupportedCharsetException
enc - converter nameUnsupportedCharsetExceptionpublic static String getJavaCanonicalName(String charsetName)
charsetName - converter namepublic final Iterator charsets()
charsets in class CharsetProviderpublic static final Object[] getAvailableNames()
public static final String[] getAllNames()
Copyright © 2010 - 2020 Adobe. All Rights Reserved