public interface IHasLocales
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLocale(Locale aLocale)
Check if the passed locale is directly contained.
|
boolean |
containsLocaleWithFallback(Locale aLocale)
Check if the passed locale is directly or by fallback contained.
|
Collection<Locale> |
getAllLocales() |
int |
getLocaleCount() |
@Nonnull @ReturnsMutableCopy Collection<Locale> getAllLocales()
null.@Nonnegative int getLocaleCount()
boolean containsLocale(@Nullable Locale aLocale)
aLocale - The locale to check. May be null.true if the locale is directly contained,
false if not.boolean containsLocaleWithFallback(@Nullable Locale aLocale)
aLocale - The locale to check. May be null.true if the locale is contained, false if
not.Copyright © 2014–2015 Philip Helger. All rights reserved.