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 UnicodeSet.SpanCondition |
UnicodeSet.SpanCondition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnicodeSet.SpanCondition[] |
UnicodeSet.SpanCondition.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,
UnicodeSet.SpanCondition spanCondition)
Returns the number of matching characters found in a character sequence.
|
String |
UnicodeSetSpanner.deleteFrom(CharSequence sequence,
UnicodeSet.SpanCondition spanCondition)
Delete all matching spans in sequence, according to the spanCondition.
|
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.
|
int |
UnicodeSet.span(CharSequence s,
int start,
UnicodeSet.SpanCondition spanCondition)
Span a string using this UnicodeSet.
|
int |
UnicodeSet.span(CharSequence s,
UnicodeSet.SpanCondition spanCondition)
Span a string using this UnicodeSet.
|
int |
UnicodeSet.spanAndCount(CharSequence s,
int start,
UnicodeSet.SpanCondition spanCondition,
OutputInt outCount)
Deprecated.
This API is ICU internal only.
|
int |
UnicodeSet.spanBack(CharSequence s,
int fromIndex,
UnicodeSet.SpanCondition spanCondition)
Span a string backwards (from the fromIndex) using this UnicodeSet.
|
int |
UnicodeSet.spanBack(CharSequence s,
UnicodeSet.SpanCondition spanCondition)
Span a string backwards (from the end) using this UnicodeSet.
|
CharSequence |
UnicodeSetSpanner.trim(CharSequence sequence,
UnicodeSetSpanner.TrimOption trimOption,
UnicodeSet.SpanCondition spanCondition)
Returns a trimmed sequence (using CharSequence.subsequence()), that omits matching elements at the start or
end of the string, depending on the trimOption and spanCondition.
|
Copyright © 2016 Unicode, Inc. and others.