Class CollatorServiceShim.CService

    • Constructor Detail

      • CService

        CService()
    • Method Detail

      • validateFallbackLocale

        public java.lang.String validateFallbackLocale()
        makeInstance() returns an appropriate Collator 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 collation.

        Overrides:
        validateFallbackLocale in class ICULocaleService
      • handleDefault

        protected java.lang.Object handleDefault​(ICUService.Key key,
                                                 java.lang.String[] actualIDReturn)
        Description copied from class: ICUService
        Default handler for this service if no factory in the list handled the key.
        Overrides:
        handleDefault in class ICUService