Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static UnicodeSetSpanner.CountMethod |
UnicodeSetSpanner.CountMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnicodeSetSpanner.CountMethod[] |
UnicodeSetSpanner.CountMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
UnicodeSetSpanner.countIn(CharSequence sequence,
UnicodeSetSpanner.CountMethod countMethod)
Returns the number of matching characters found in a character sequence, using SpanCondition.SIMPLE.
|
int |
UnicodeSetSpanner.countIn(CharSequence sequence,
UnicodeSetSpanner.CountMethod countMethod,
UnicodeSet.SpanCondition spanCondition)
Returns the number of matching characters found in a character sequence.
|
String |
UnicodeSetSpanner.replaceFrom(CharSequence sequence,
CharSequence replacement,
UnicodeSetSpanner.CountMethod countMethod)
Replace all matching spans in sequence by replacement, according to the CountMethod, using SpanCondition.SIMPLE.
|
String |
UnicodeSetSpanner.replaceFrom(CharSequence sequence,
CharSequence replacement,
UnicodeSetSpanner.CountMethod countMethod,
UnicodeSet.SpanCondition spanCondition)
Replace all matching spans in sequence by replacement, according to the countMethod and spanCondition.
|
Copyright © 2016 Unicode, Inc. and others.