| Package | Description |
|---|---|
| com.ibm.icu.lang | |
| com.ibm.icu.text | |
| com.ibm.icu.util |
| Modifier and Type | Method and Description |
|---|---|
static String |
UCharacter.toTitleCase(Locale locale,
String str,
BreakIterator breakiter)
Returns the titlecase version of the argument string.
|
static String |
UCharacter.toTitleCase(Locale locale,
String str,
BreakIterator titleIter,
int options)
[icu] Returns the titlecase version of the argument string.
|
static String |
UCharacter.toTitleCase(String str,
BreakIterator breakiter)
Returns the titlecase version of the argument string.
|
static String |
UCharacter.toTitleCase(ULocale locale,
String str,
BreakIterator titleIter)
Returns the titlecase version of the argument string.
|
static String |
UCharacter.toTitleCase(ULocale locale,
String str,
BreakIterator titleIter,
int options)
Returns the titlecase version of the argument string.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RuleBasedBreakIterator
Rule Based Break Iterator
This is a port of the C++ class RuleBasedBreakIterator from ICU4C.
|
| Modifier and Type | Field and Description |
|---|---|
protected BreakIterator |
SearchIterator.breakIterator
The BreakIterator to define the boundaries of a logical match.
|
| Modifier and Type | Method and Description |
|---|---|
static BreakIterator |
BreakIterator.getBreakInstance(ULocale where,
int kind)
Deprecated.
This API is ICU internal only.
|
BreakIterator |
SearchIterator.getBreakIterator()
Returns the BreakIterator that is used to restrict the indexes at which
matches are detected.
|
static BreakIterator |
BreakIterator.getCharacterInstance()
Returns a new instance of BreakIterator that locates logical-character
boundaries.
|
static BreakIterator |
BreakIterator.getCharacterInstance(Locale where)
Returns a new instance of BreakIterator that locates logical-character
boundaries.
|
static BreakIterator |
BreakIterator.getCharacterInstance(ULocale where)
[icu] Returns a new instance of BreakIterator that locates logical-character
boundaries.
|
static BreakIterator |
BreakIterator.getLineInstance()
Returns a new instance of BreakIterator that locates legal line-
wrapping positions.
|
static BreakIterator |
BreakIterator.getLineInstance(Locale where)
Returns a new instance of BreakIterator that locates legal line-
wrapping positions.
|
static BreakIterator |
BreakIterator.getLineInstance(ULocale where)
[icu] Returns a new instance of BreakIterator that locates legal line-
wrapping positions.
|
static BreakIterator |
BreakIterator.getSentenceInstance()
Returns a new instance of BreakIterator that locates sentence boundaries.
|
static BreakIterator |
BreakIterator.getSentenceInstance(Locale where)
Returns a new instance of BreakIterator that locates sentence boundaries.
|
static BreakIterator |
BreakIterator.getSentenceInstance(ULocale where)
[icu] Returns a new instance of BreakIterator that locates sentence boundaries.
|
static BreakIterator |
BreakIterator.getTitleInstance()
Deprecated.
ICU 64 Use
getWordInstance() instead. |
static BreakIterator |
BreakIterator.getTitleInstance(Locale where)
Deprecated.
ICU 64 Use
getWordInstance() instead. |
static BreakIterator |
BreakIterator.getTitleInstance(ULocale where)
Deprecated.
ICU 64 Use
getWordInstance() instead. |
static BreakIterator |
BreakIterator.getWordInstance()
Returns a new instance of BreakIterator that locates word boundaries.
|
static BreakIterator |
BreakIterator.getWordInstance(Locale where)
Returns a new instance of BreakIterator that locates word boundaries.
|
static BreakIterator |
BreakIterator.getWordInstance(ULocale where)
[icu] Returns a new instance of BreakIterator that locates word boundaries.
|
abstract BreakIterator |
FilteredBreakIteratorBuilder.wrapIteratorWithFilter(BreakIterator wrappedBreakIterator)
Wrap (adopt) an existing break iterator in a new filtered instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CaseMap.Title.apply(Locale locale,
BreakIterator iter,
CharSequence src)
Titlecases a string.
|
<A extends Appendable> |
CaseMap.Title.apply(Locale locale,
BreakIterator iter,
CharSequence src,
A dest,
Edits edits)
Titlecases a string and optionally records edits (see
CaseMap.Title.omitUnchangedText()). |
static Object |
BreakIterator.registerInstance(BreakIterator iter,
Locale locale,
int kind)
[icu] Registers a new break iterator of the indicated kind, to use in the given
locale.
|
static Object |
BreakIterator.registerInstance(BreakIterator iter,
ULocale locale,
int kind)
[icu] Registers a new break iterator of the indicated kind, to use in the given
locale.
|
void |
SearchIterator.setBreakIterator(BreakIterator breakiter)
Set the BreakIterator that will be used to restrict the points
at which matches are detected.
|
abstract BreakIterator |
FilteredBreakIteratorBuilder.wrapIteratorWithFilter(BreakIterator wrappedBreakIterator)
Wrap (adopt) an existing break iterator in a new filtered instance.
|
| Constructor and Description |
|---|
SearchIterator(CharacterIterator target,
BreakIterator breaker)
Protected constructor for use by subclasses.
|
StringSearch(String pattern,
CharacterIterator target,
RuleBasedCollator collator,
BreakIterator breakiter)
Initializes the iterator to use the language-specific rules defined in
the argument collator to search for argument pattern in the argument
target text.
|
| Modifier and Type | Method and Description |
|---|---|
BreakIterator |
GlobalizationPreferences.getBreakIterator(int type)
Get a copy of the break iterator for the specified type according to the
settings.
|
protected BreakIterator |
GlobalizationPreferences.guessBreakIterator(int type)
This function can be overridden by subclasses to use different heuristics.
|
| Modifier and Type | Method and Description |
|---|---|
GlobalizationPreferences |
GlobalizationPreferences.setBreakIterator(int type,
BreakIterator iterator)
Explicitly set the break iterator for this object.
|
Copyright © 2016 Unicode, Inc. and others.