Proposal: New collation "available" API (ICU4J addendum)

Alan S Liu <[email protected]> Fri, 7 May 2004 16:53:59 -0700
Newsgroups gmane.comp.lib.icu.general
Message-ID <OFAF629912.D21746C3-ON88256E8D.008320CC-88256E8D.00834EF2@us.ibm.com>
Correction: com.ibm.icu.TEXT.Collator, not com.ibm.icu.TEST.Collator.

[Alan S Liu/San Jose/IBM@IBMUS; [email protected];; IBM Globalization; 
5600 Cottle Road; San Jose, CA 95193;; (408) 256-3155]

__________________


This proposal is an addendum to the previous proposal.  This addendum
describes the proposed ICU4J API on the class com.ibm.icu.text.Collator.
Semantics are the same for API with corresponding names.

Applies to ICU4J 3.0 release.

See: http://www.jtcsv.com/cgibin/icu-bugs?findid=3549

package com.ibm.icu.text;

public class Collator {

public static final ULocale[] getAvailableULocales();

public static final String[] getKeywords();

public static final String[] getKeywordValues(String keyword);

public static final ULocale getFunctionalEquivalent(String keyword,
                                                    ULocale locID,
                                            boolean isAvailable[]);

public static final ULocale getFunctionalEquivalent(String keyword,
ULocale locID);
}

[Alan S Liu/San Jose/IBM@IBMUS; [email protected];; IBM Globalization;
5600 Cottle Road; San Jose, CA 95193;; (408) 256-3155]
_______________________________________________
icu mailing list
[email protected]
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu