public interface LocaleProvider
Locale
.
This is useful for when an action may wish override the default locale. All that is
needed is to implement this interface and return your own custom locale.
The TextProvider
interface uses this interface heavily for retrieving
internationalized messages from resource bundles.
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale()
Gets the provided locale.
|
boolean |
isValidLocale(Locale locale)
Validates if provided
Locale is value |
boolean |
isValidLocaleString(String localeStr)
Validates if provided string is a valid
Locale |
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.