Package | Description |
---|---|
com.ibm.icu.charset | Enhanced charset conversion support. |
com.ibm.icu.lang | Enhanced character property and surrogate support. |
com.ibm.icu.text | Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping. |
com.ibm.icu.util | International calendars and other utility classes. |
Modifier and Type | Method and Description |
---|---|
void | CharsetICU.getUnicodeSet(UnicodeSet setFillIn, int which) Returns the set of Unicode code points that can be converted by an ICU Converter. |
Constructor and Description |
---|
CharsetSelector(List<String> charsetList,UnicodeSet excludedCodePoints, int mappingTypes) Construct a CharsetSelector from a list of charset names. |
Modifier and Type | Method and Description |
---|---|
staticUnicodeSet | CharacterProperties.getBinaryPropertySet(int property) Returns a frozen UnicodeSet for a binary property. |
Modifier and Type | Field and Description |
---|---|
staticUnicodeSet | UnicodeSet.ALL_CODE_POINTS Constant for the set of all code points. |
staticUnicodeSet | UnicodeSet.EMPTY Constant for the empty set. |
staticUnicodeSet | SpoofChecker.INCLUSION Security Profile constant from UTS 39 for use in SpoofChecker.Builder.setAllowedChars(com.ibm.icu.text.UnicodeSet) . |
UnicodeSet | SpoofChecker.CheckResult.numerics The numerics found in the string, if MIXED_NUMBERS was set; otherwise null. |
staticUnicodeSet | SpoofChecker.RECOMMENDED Security Profile constant from UTS 39 for use in SpoofChecker.Builder.setAllowedChars(com.ibm.icu.text.UnicodeSet) . |
Modifier and Type | Method and Description |
---|---|
UnicodeSet | UnicodeSet.add(CharSequence s) Adds the specified multicharacter to this set if it is not already present. |
UnicodeSet | UnicodeSet.add(int c) Adds the specified character to this set if it is not already present. |
UnicodeSet | UnicodeSet.add(int start, int end) Adds the specified range to this set if it is not already present. |
UnicodeSet | UnicodeSet.add(Iterable<?> source) Add the contents of the collection (as strings) into this UnicodeSet. |
UnicodeSet | UnicodeSet.addAll(CharSequence s) Adds each of the characters in this string to the set. |
UnicodeSet | UnicodeSet.addAll(int start, int end) Adds all characters in range (uses preferred naming convention). |
UnicodeSet | UnicodeSet.addAll(Iterable<?> source) Add a collection (as strings) into this UnicodeSet. |
<T extendsCharSequence> | UnicodeSet.addAll(T... collection) |
UnicodeSet | UnicodeSet.addAll(UnicodeSet c) Adds all of the elements in the specified set to this set if they're not already present. |
UnicodeSet | UnicodeSet.addBridges(UnicodeSet dontCare) Deprecated. This API is ICU internal only. |
UnicodeSet | UnicodeSet.applyIntPropertyValue(int prop, int value) Modifies this set to contain those code points which have the given value for the given binary or enumerated property, as returned by UCharacter.getIntPropertyValue. |
UnicodeSet | UnicodeSet.applyPattern(String pattern) Modifies this set to represent the set specified by the given pattern. |
UnicodeSet | UnicodeSet.applyPattern(String pattern, boolean ignoreWhitespace) Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace. |
UnicodeSet | UnicodeSet.applyPattern(String pattern, int options) Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace. |
UnicodeSet | UnicodeSet.applyPattern(String pattern,ParsePosition pos,SymbolTable symbols, int options) Deprecated. This API is ICU internal only. |
UnicodeSet | UnicodeSet.applyPropertyAlias(String propertyAlias,String valueAlias) Modifies this set to contain those code points which have the given value for the given property. |
UnicodeSet | UnicodeSet.applyPropertyAlias(String propertyAlias,String valueAlias,SymbolTable symbols) Modifies this set to contain those code points which have the given value for the given property. |
UnicodeSet | UnicodeSet.clear() Removes all of the elements from this set. |
UnicodeSet | UnicodeSet.cloneAsThawed() Clone a thawed version of this class, according to the Freezable interface. |
UnicodeSet | UnicodeSet.closeOver(int attribute) Close this set over the given attribute. |
UnicodeSet | UnicodeSet.compact() Reallocate this objects internal structures to take up the least possible space, without changing this object's value. |
UnicodeSet | UnicodeSet.complement() This is equivalent to complement(MIN_VALUE, MAX_VALUE) . |
UnicodeSet | UnicodeSet.complement(CharSequence s) Complement the specified string in this set. |
UnicodeSet | UnicodeSet.complement(int c) Complements the specified character in this set. |
UnicodeSet | UnicodeSet.complement(int start, int end) Complements the specified range in this set. |
UnicodeSet | UnicodeSet.complementAll(CharSequence s) Complement EACH of the characters in this string. |
UnicodeSet | UnicodeSet.complementAll(UnicodeSet c) Complements in this set all elements contained in the specified set. |
UnicodeSet | UnicodeSet.freeze() Freeze this class, according to the Freezable interface. |
staticUnicodeSet | UnicodeSet.from(CharSequence s) Makes a set from a multicharacter string. |
staticUnicodeSet | UnicodeSet.fromAll(CharSequence s) Makes a set from each of the characters in the string. |
UnicodeSet | SpoofChecker.getAllowedChars() Get a UnicodeSet for the characters permitted in an identifier. |
UnicodeSet | Transliterator.getFilterAsUnicodeSet(UnicodeSet externalFilter) Deprecated. This API is ICU internal only. |
UnicodeSet | Transliterator.getSourceSet() Returns the set of all characters that may be modified in the input text by this Transliterator. |
UnicodeSet | Collator.getTailoredSet() Returns a UnicodeSet that contains all the characters and sequences tailored in this collator. |
UnicodeSet | RuleBasedCollator.getTailoredSet() Get a UnicodeSet that contains all the characters and sequences tailored in this collator. |
UnicodeSet | Transliterator.getTargetSet() Returns the set of all characters that may be generated as replacement text by this transliterator. |
UnicodeSet | UnicodeSetSpanner.getUnicodeSet() Returns the UnicodeSet used for processing. |
protectedUnicodeSet | Transliterator.handleGetSourceSet() Framework method that returns the set of all characters that may be modified in the input text by this Transliterator, ignoring the effect of this object's filter. |
UnicodeSet | UnicodeSet.remove(CharSequence s) Removes the specified string from this set if it is present. |
UnicodeSet | UnicodeSet.remove(int c) Removes the specified character from this set if it is present. |
UnicodeSet | UnicodeSet.remove(int start, int end) Removes the specified range from this set if it is present. |
UnicodeSet | UnicodeSet.removeAll(CharSequence s) Remove EACH of the characters in this string. |
<T extendsCharSequence> | UnicodeSet.removeAll(Iterable<T> collection) |
UnicodeSet | UnicodeSet.removeAll(UnicodeSet c) Removes from this set all of its elements that are contained in the specified set. |
UnicodeSet | UnicodeSet.removeAllStrings() Remove all strings from this UnicodeSet |
UnicodeSet | UnicodeSet.retain(CharSequence cs) Retain the specified string in this set if it is present. |
UnicodeSet | UnicodeSet.retain(int c) Retain the specified character from this set if it is present. |
UnicodeSet | UnicodeSet.retain(int start, int end) Retain only the elements in this set that are contained in the specified range. |
UnicodeSet | UnicodeSet.retainAll(CharSequence s) Retains EACH of the characters in this string. |
<T extendsCharSequence> | UnicodeSet.retainAll(Iterable<T> collection) |
UnicodeSet | UnicodeSet.retainAll(UnicodeSet c) Retains only the elements in this set that are contained in the specified set. |
UnicodeSet | UnicodeSet.set(int start, int end) Make this object represent the range start - end . |
UnicodeSet | UnicodeSet.set(UnicodeSet other) Make this object represent the same set as other . |
Modifier and Type | Method and Description |
---|---|
UnicodeSet | UnicodeSet.addAll(UnicodeSet c) Adds all of the elements in the specified set to this set if they're not already present. |
UnicodeSet | UnicodeSet.addBridges(UnicodeSet dontCare) Deprecated. This API is ICU internal only. |
AlphabeticIndex<V> | AlphabeticIndex.addLabels(UnicodeSet additions) Add more index characters (aside from what are in the locale) |
void | UnicodeSet.addMatchSetTo(UnicodeSet toUnionTo) Implementation of UnicodeMatcher API. |
void | UnicodeMatcher.addMatchSetTo(UnicodeSet toUnionTo) Union the set of all characters that may be matched by this object into the given set. |
void | RuleBasedTransliterator.addSourceTargetSet(UnicodeSet filter,UnicodeSet sourceSet,UnicodeSet targetSet) Deprecated. This API is ICU internal only. |
void | Transliterator.addSourceTargetSet(UnicodeSet inputFilter,UnicodeSet sourceSet,UnicodeSet targetSet) Deprecated. This API is ICU internal only. |
boolean | UnicodeSet.XSymbolTable.applyPropertyAlias(String propertyName,String propertyValue,UnicodeSet result) Override the interpretation of the sequence [:propertyName=propertyValue:] (and its negated and Perl-style variant). |
int | UnicodeSet.compareTo(UnicodeSet o) Compares UnicodeSets, where shorter come first, and otherwise lexicographically (according to the comparison of the first characters that differ). |
int | UnicodeSet.compareTo(UnicodeSet o,UnicodeSet.ComparisonStyle style) Compares UnicodeSets, in three different ways. |
UnicodeSet | UnicodeSet.complementAll(UnicodeSet c) Complements in this set all elements contained in the specified set. |
boolean | UnicodeSet.containsAll(UnicodeSet b) Returns true if this set contains all the characters and strings of the given set. |
boolean | UnicodeSet.containsNone(UnicodeSet b) Returns true if none of the characters or strings in this UnicodeSet appears in the string. |
boolean | UnicodeSet.containsSome(UnicodeSet s) Returns true if this set contains one or more of the characters and strings of the given set. |
void | RuleBasedCollator.getContractionsAndExpansions(UnicodeSet contractions,UnicodeSet expansions, boolean addPrefixes) Gets unicode sets containing contractions and/or expansions of a collator |
UnicodeSet | Transliterator.getFilterAsUnicodeSet(UnicodeSet externalFilter) Deprecated. This API is ICU internal only. |
UnicodeSet | UnicodeSet.removeAll(UnicodeSet c) Removes from this set all of its elements that are contained in the specified set. |
void | UnicodeSetIterator.reset(UnicodeSet uset) Sets this iterator to visit the elements of the given set and resets it to the start of that set. |
UnicodeSet | UnicodeSet.retainAll(UnicodeSet c) Retains only the elements in this set that are contained in the specified set. |
UnicodeSet | UnicodeSet.set(UnicodeSet other) Make this object represent the same set as other . |
SpoofChecker.Builder | SpoofChecker.Builder.setAllowedChars(UnicodeSet chars) Limit the acceptable characters to those specified by a Unicode Set. |
staticString[] | UnicodeSet.toArray(UnicodeSet set) Add the contents of the UnicodeSet (as strings) into an array. |
Constructor and Description |
---|
FilteredNormalizer2(Normalizer2 n2,UnicodeSet filterSet) Constructs a filtered normalizer wrapping any Normalizer2 instance and a filter set. |
UnicodeSet(UnicodeSet other) Constructs a copy of an existing set. |
UnicodeSetIterator(UnicodeSet set) Create an iterator over the given set. |
UnicodeSetSpanner(UnicodeSet source) Create a spanner from a UnicodeSet. |
Modifier and Type | Method and Description |
---|---|
UnicodeSet | LocaleData.getExemplarSet(int options, int extype) Returns the set of exemplar characters for a locale. |
staticUnicodeSet | LocaleData.getExemplarSet(ULocale locale, int options) Returns the set of exemplar characters for a locale. |
staticUnicodeSet | LocaleData.getExemplarSet(ULocale locale, int options, int extype) Returns the set of exemplar characters for a locale. |
Modifier and Type | Method and Description |
---|---|
String | StringTokenizer.nextToken(UnicodeSet delim) Returns the next token in this string tokenizer's string. |
Constructor and Description |
---|
StringTokenizer(String str,UnicodeSet delim) Constructs a string tokenizer for the specified string. |
StringTokenizer(String str,UnicodeSet delim, boolean returndelims) Constructs a string tokenizer for the specified string. |
StringTokenizer(String str,UnicodeSet delim, boolean returndelims, boolean coalescedelims) Deprecated. This API is ICU internal only. |