com.ibm.icu.charset

Class CharsetProviderICU

public final class CharsetProviderICU extends CharsetProvider

A concrete subclass of CharsetProvider for loading and providing charset converters in ICU.

UNKNOWN: ICU 3.6 This API might change or be removed in a future release.

Constructor Summary
CharsetProviderICU()
Default constructor
Method Summary
CharsetcharsetForName(String charsetName)
Constructs a charset for the given charset name.
Iteratorcharsets()
Returns an iterator for the available charsets.
static String[]getAllNames()
Return all names available
static Object[]getAvailableNames()
Gets the canonical names of available converters
static StringgetICUCanonicalName(String enc)
Gets the canonical name of the converter as defined by Java

Constructor Detail

CharsetProviderICU

public CharsetProviderICU()
Default constructor

UNKNOWN: ICU 3.6 This API might change or be removed in a future release.

Method Detail

charsetForName

public final Charset charsetForName(String charsetName)
Constructs a charset for the given charset name. Implements the abstract method of super class.

Parameters: charsetName charset name

Returns: charset objet for the given charset name, null if unsupported

UNKNOWN: ICU 3.6

charsets

public final Iterator charsets()
Returns an iterator for the available charsets. Implements the abstract method of super class.

Returns: Iterator the charset name iterator

UNKNOWN: ICU 3.6

getAllNames

public static final String[] getAllNames()

Deprecated: This API is for internal ICU use only

Return all names available

Returns: String[] an arrya of all available names

UNKNOWN: ICU 3.6

getAvailableNames

public static final Object[] getAvailableNames()

Deprecated: This API is for internal ICU use only

Gets the canonical names of available converters

Returns: Object[] names as an object array

UNKNOWN: ICU 3.6

getICUCanonicalName

public static final String getICUCanonicalName(String enc)

Deprecated: This API is for internal ICU use only

Gets the canonical name of the converter as defined by Java

Parameters: enc converter name

Returns: canonical name of the converter

UNKNOWN: ICU 3.6

Copyright (c) 2007 IBM Corporation and others.