Package org.openhab.core.i18n
Interface LocaleProvider
@NonNullByDefault
public interface LocaleProvider
The interface describe a provider for a locale.
- Author:
- Markus Rathgeb - Initial contribution
-
Method Summary
-
Method Details
-
getLocale
Locale getLocale()Get a locale. The locale could be used e.g. as a fallback if there is no other one defined explicitly.- Returns:
- a locale (non-null)
-