com.ibm.icu4jni.charset
Class CharsetICU

java.lang.Object
  |
  +--java.nio.charset.Charset
        |
        +--com.ibm.icu4jni.charset.CharsetICU
All Implemented Interfaces:
java.lang.Comparable

public final class CharsetICU
extends java.nio.charset.Charset


Constructor Summary
protected CharsetICU(java.lang.String canonicalName, java.lang.String[] aliases)
          Constructor to create a the CharsetICU object
 
Method Summary
 boolean contains(java.nio.charset.Charset cs)
          Ascertains if a charset is a sub set of this charset
 java.nio.charset.CharsetDecoder newDecoder()
          Returns a new decoder instance of this charset object
 java.nio.charset.CharsetEncoder newEncoder()
          Returns a new encoder object of the charset
 
Methods inherited from class java.nio.charset.Charset
aliases, availableCharsets, canEncode, compareTo, decode, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharsetICU

protected CharsetICU(java.lang.String canonicalName,
                     java.lang.String[] aliases)
Constructor to create a the CharsetICU object

Status:
Stable ICU 2.4.
Method Detail

newDecoder

public java.nio.charset.CharsetDecoder newDecoder()
Returns a new decoder instance of this charset object

Specified by:
newDecoder in class java.nio.charset.Charset
Returns:
a new decoder object
Status:
Stable ICU 2.4.

newEncoder

public java.nio.charset.CharsetEncoder newEncoder()
Returns a new encoder object of the charset

Specified by:
newEncoder in class java.nio.charset.Charset
Returns:
a new encoder
Status:
Stable ICU 2.4.

contains

public boolean contains(java.nio.charset.Charset cs)
Ascertains if a charset is a sub set of this charset

Specified by:
contains in class java.nio.charset.Charset
Returns:
true if the given charset is a subset of this charset
Status:
Stable ICU 2.4.