]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-4_8_1_1/main/classes/charset/src/com/ibm/icu/charset/CharsetCESU8.java
Added flags.
[Dictionary.git] / jars / icu4j-4_8_1_1 / main / classes / charset / src / com / ibm / icu / charset / CharsetCESU8.java
1 /**
2  *******************************************************************************
3  * Copyright (C) 2006-2008, International Business Machines Corporation and    *
4  * others. All Rights Reserved.                                                *
5  *******************************************************************************
6  */
7 package com.ibm.icu.charset;
8
9 import com.ibm.icu.text.UnicodeSet;
10
11 /**
12  * The purpose of this class is to set isCESU8 to true in the super class, and to allow the Charset framework to open
13  * the variant UTF-8 converter without extra setup work. CESU-8 encodes/decodes supplementary characters as 6 bytes
14  * instead of the proper 4 bytes.
15  */
16 class CharsetCESU8 extends CharsetUTF8 {
17     public CharsetCESU8(String icuCanonicalName, String javaCanonicalName, String[] aliases) {
18         super(icuCanonicalName, javaCanonicalName, aliases);
19     }
20     
21     
22     void getUnicodeSetImpl( UnicodeSet setFillIn, int which){
23         getCompleteUnicodeSet(setFillIn);
24             
25     }
26 }