Package | Description |
---|---|
java.awt.font |
Provides classes and interface relating to fonts.
|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
java.text.spi |
Service provider classes for the classes in the java.text package.
|
Constructor and Description |
---|
LineBreakMeasurer(AttributedCharacterIterator text,
BreakIterator breakIter,
FontRenderContext frc)
Constructs a
LineBreakMeasurer for the specified text. |
Modifier and Type | Method and Description |
---|---|
static BreakIterator |
BreakIterator.getCharacterInstance()
|
static BreakIterator |
BreakIterator.getCharacterInstance(Locale locale)
Returns a new
BreakIterator instance
for character breaks
for the given locale. |
static BreakIterator |
BreakIterator.getLineInstance()
|
static BreakIterator |
BreakIterator.getLineInstance(Locale locale)
Returns a new
BreakIterator instance
for line breaks
for the given locale. |
static BreakIterator |
BreakIterator.getSentenceInstance()
|
static BreakIterator |
BreakIterator.getSentenceInstance(Locale locale)
Returns a new
BreakIterator instance
for sentence breaks
for the given locale. |
static BreakIterator |
BreakIterator.getWordInstance()
|
static BreakIterator |
BreakIterator.getWordInstance(Locale locale)
Returns a new
BreakIterator instance
for word breaks
for the given locale. |
Modifier and Type | Method and Description |
---|---|
abstract BreakIterator |
BreakIteratorProvider.getCharacterInstance(Locale locale)
Returns a new
BreakIterator instance
for character breaks
for the given locale. |
abstract BreakIterator |
BreakIteratorProvider.getLineInstance(Locale locale)
Returns a new
BreakIterator instance
for line breaks
for the given locale. |
abstract BreakIterator |
BreakIteratorProvider.getSentenceInstance(Locale locale)
Returns a new
BreakIterator instance
for sentence breaks
for the given locale. |
abstract BreakIterator |
BreakIteratorProvider.getWordInstance(Locale locale)
Returns a new
BreakIterator instance
for word breaks
for the given locale. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.