Uses of Class
com.ibm.icu.text.BreakIterator
-
Packages that use BreakIterator Package Description 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. -
-
Uses of BreakIterator in com.ibm.icu.lang
Methods in com.ibm.icu.lang with parameters of type BreakIterator Modifier and Type Method Description static java.lang.String
UCharacter. toTitleCase(ULocale locale, java.lang.String str, BreakIterator titleIter)
Returns the titlecase version of the argument string.static java.lang.String
UCharacter. toTitleCase(ULocale locale, java.lang.String str, BreakIterator titleIter, int options)
Returns the titlecase version of the argument string.static java.lang.String
UCharacter. toTitleCase(java.lang.String str, BreakIterator breakiter)
Returns the titlecase version of the argument string.static java.lang.String
UCharacter. toTitleCase(java.util.Locale locale, java.lang.String str, BreakIterator breakiter)
Returns the titlecase version of the argument string.static java.lang.String
UCharacter. toTitleCase(java.util.Locale locale, java.lang.String str, BreakIterator titleIter, int options)
-
Uses of BreakIterator in com.ibm.icu.text
Subclasses of BreakIterator in com.ibm.icu.text Modifier and Type Class Description class
RuleBasedBreakIterator
Rule Based Break Iterator This is a port of the C++ class RuleBasedBreakIterator from ICU4C.Fields in com.ibm.icu.text declared as BreakIterator Modifier and Type Field Description protected BreakIterator
SearchIterator. breakIterator
The BreakIterator to define the boundaries of a logical match.Methods in com.ibm.icu.text that return BreakIterator Modifier and Type Method 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(ULocale where)
Returns a new instance of BreakIterator that locates logical-character boundaries.static BreakIterator
BreakIterator. getCharacterInstance(java.util.Locale where)
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(ULocale where)
Returns a new instance of BreakIterator that locates legal line- wrapping positions.static BreakIterator
BreakIterator. getLineInstance(java.util.Locale where)
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(ULocale where)
Returns a new instance of BreakIterator that locates sentence boundaries.static BreakIterator
BreakIterator. getSentenceInstance(java.util.Locale where)
Returns a new instance of BreakIterator that locates sentence boundaries.static BreakIterator
BreakIterator. getTitleInstance()
Deprecated.ICU 64 UsegetWordInstance()
instead.static BreakIterator
BreakIterator. getTitleInstance(ULocale where)
Deprecated.ICU 64 UsegetWordInstance()
instead.static BreakIterator
BreakIterator. getTitleInstance(java.util.Locale where)
Deprecated.ICU 64 UsegetWordInstance()
instead.static BreakIterator
BreakIterator. getWordInstance()
Returns a new instance of BreakIterator that locates word boundaries.static BreakIterator
BreakIterator. getWordInstance(ULocale where)
Returns a new instance of BreakIterator that locates word boundaries.static BreakIterator
BreakIterator. getWordInstance(java.util.Locale where)
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.Methods in com.ibm.icu.text with parameters of type BreakIterator Modifier and Type Method Description java.lang.String
CaseMap.Title. apply(java.util.Locale locale, BreakIterator iter, java.lang.CharSequence src)
Titlecases a string.<A extends java.lang.Appendable>
ACaseMap.Title. apply(java.util.Locale locale, BreakIterator iter, java.lang.CharSequence src, A dest, Edits edits)
Titlecases a string and optionally records edits (seeCaseMap.Title.omitUnchangedText()
).static java.lang.Object
BreakIterator. registerInstance(BreakIterator iter, ULocale locale, int kind)
Registers a new break iterator of the indicated kind, to use in the given locale.static java.lang.Object
BreakIterator. registerInstance(BreakIterator iter, java.util.Locale locale, int kind)
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.Constructors in com.ibm.icu.text with parameters of type BreakIterator Constructor Description SearchIterator(java.text.CharacterIterator target, BreakIterator breaker)
Protected constructor for use by subclasses.StringSearch(java.lang.String pattern, java.text.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. -
Uses of BreakIterator in com.ibm.icu.util
Methods in com.ibm.icu.util that return BreakIterator Modifier and Type Method 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.Methods in com.ibm.icu.util with parameters of type BreakIterator Modifier and Type Method Description GlobalizationPreferences
GlobalizationPreferences. setBreakIterator(int type, BreakIterator iterator)
Explicitly set the break iterator for this object.
-