Class BreakIteratorFactory.BFService

Enclosing class:
BreakIteratorFactory

private static class BreakIteratorFactory.BFService extends ICULocaleService
  • Constructor Details

    • BFService

      BFService()
  • Method Details

    • validateFallbackLocale

      public String validateFallbackLocale()
      createBreakInstance() returns an appropriate BreakIterator for any locale. It falls back to root if there is no specific data.

      Without this override, the service code would fall back to the default locale which is not desirable for an algorithm with a good Unicode default, like break iteration.

      Overrides:
      validateFallbackLocale in class ICULocaleService