Uses of Class java.text.BreakIterator (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.text.BreakIterator

- Packages that use BreakIterator
  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.

- - ### Uses of BreakIterator in java.awt.font

    Constructors in java.awt.font with parameters of type BreakIterator
    Constructor and Description
    `LineBreakMeasurer(AttributedCharacterIterator text, BreakIterator breakIter, FontRenderContext frc)` Constructs a `LineBreakMeasurer` for the specified text.

  - ### Uses of BreakIterator in java.text

    Methods in java.text that return BreakIterator
    Modifier and Type | Method and Description
    --- | ---
    `static BreakIterator` | BreakIterator.`getCharacterInstance()` Returns a new `BreakIterator` instance for character breaks for the default locale.
    `static BreakIterator` | BreakIterator.`getCharacterInstance(Locale locale)` Returns a new `BreakIterator` instance for character breaks for the given locale.
    `static BreakIterator` | BreakIterator.`getLineInstance()` Returns a new `BreakIterator` instance for line breaks for the default locale.
    `static BreakIterator` | BreakIterator.`getLineInstance(Locale locale)` Returns a new `BreakIterator` instance for line breaks for the given locale.
    `static BreakIterator` | BreakIterator.`getSentenceInstance()` Returns a new `BreakIterator` instance for sentence breaks for the default locale.
    `static BreakIterator` | BreakIterator.`getSentenceInstance(Locale locale)` Returns a new `BreakIterator` instance for sentence breaks for the given locale.
    `static BreakIterator` | BreakIterator.`getWordInstance()` Returns a new `BreakIterator` instance for word breaks for the default locale.
    `static BreakIterator` | BreakIterator.`getWordInstance(Locale locale)` Returns a new `BreakIterator` instance for word breaks for the given locale.

  - ### Uses of BreakIterator in java.text.spi

    Methods in java.text.spi that return BreakIterator
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.