|
From: Ram V. <ra...@jt...> - 2002-07-13 02:59:37
|
Proposal to add new methods and deprecate old constants and methods in Normalizer API Motivation: Synchronize the APIs and implementation with ICU4C and to update Normalization API to Unicode 3.2 Expiration: July22, 2002 List of APIs and repective changes are noted below. For JAVADOC for API see http://oss.software.ibm.com/icu/dropbox/Normalizer.html Deprecated ======== public static final Mode NO_OP public static final Mode COMPOSE public static final Mode DECOMP public static final Mode DECOMP_COMPAT public static final int IGNORE_HANGUL public Normalizer(String str, Mode mode, int opt) public Normalizer(CharacterIterator iter, Mode mode, int opt) public static String normalize(String str, Mode mode, int options) public static String compose(String str, boolean compat, int options) public static String decompose(String str, boolean compat, int options) public int getBeginIndex() public int getEndIndex() public void setOption(int option,boolean value) public int getOption(int option) Additions ====== public static String compose(String str, boolean compat) public static int compose(char[] source,char[] target, boolean compat) public static int compose(char[] src,int srcStart, int srcLimit,char[] dest,int destStart, int destLimit,boolean compat) public static String decompose(String str, boolean compat) public static int decompose(char[] source,char[] target, boolean compat) public static int decompose(char[] src,int srcStart, int srcLimit,char[] dest,int destStart, int destLimit,boolean compat) public static String normalize( String src,Mode mode) public static int normalize(char[] source,char[] target, Mode mode) public static int normalize(char[] src,int srcStart, int srcLimit, char[] dest,int destStart, int destLimit,Mode mode) public static QuickCheckResult quickCheck( String source, Mode mode) public static QuickCheckResult quickCheck(char[] source, Mode mode) public static QuickCheckResult quickCheck(char[] source,int start, int limit, Mode mode) public static String normalize(int char32, Mode mode) public static boolean isNormalized(char[] src,int start,int limit, Mode mode) public static boolean isNormalized(String str, Mode mode) public static boolean isNormalized(String str, Mode mode) public static int compare(char[] s1, int s1Start, int s1Limit,char[] s2, int s2Start, int s2Limit,int options) public static int compare(String s1, String s2, int options) public static int compare(char[] s1, char[] s2, int options) public static int compare(int char32a, int char32b,int options) public static int compare(int charA, String str2, int options) public static int concatenate(char[] left, int leftStart, int leftLimit,char[] right, int rightStart, int rightLimit, char[] dest, int destStart, int destLimit, ormalizer.Mode mode) public static String concatenate(char[] left, char[] right,Mode mode) public static String concatenate(String left, String right,Mode mode) public void setIndexOnly(int index) Return Types for the following APIs has been changed ========================================== public int current() public int next() public int previous() public void reset() public int setIndex(int index) public int getBeginIndex() public int getEndIndex() public int first() public int last() public int getIndex() public int startIndex() public int endIndex() Regards, Ram --------------------------------------------------- Ram Viswanadha International Components For Unicode GCoC San Jose IBM |