public class ResourceBundleTextProvider extends AbstractHasTextWithArgs
| Constructor and Description |
|---|
ResourceBundleTextProvider(ResourceBundleKey aResBundleKey) |
ResourceBundleTextProvider(String sBundleName,
String sKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
protected Locale |
internalGetLocaleToUseWithFallback(Locale aContentLocale)
Determine the locale to use.
|
protected String |
internalGetText(Locale aContentLocale)
Main text resolving.
|
String |
toString() |
getTextWithArgs, getTextWithArgsgetTextpublic ResourceBundleTextProvider(@Nonnull String sBundleName, @Nonnull String sKey)
public ResourceBundleTextProvider(@Nonnull ResourceBundleKey aResBundleKey)
@Nullable protected Locale internalGetLocaleToUseWithFallback(@Nullable Locale aContentLocale)
AbstractHasTextinternalGetLocaleToUseWithFallback in class AbstractHasTextaContentLocale - Requested locale. Never null.null.@Nullable protected String internalGetText(@Nonnull Locale aContentLocale)
AbstractHasTextinternalGetText in class AbstractHasTextaContentLocale - Locale to use. This is the locale resolved internally. Never
null.null if no such text present in the passed localeCopyright © 2014–2015 Philip Helger. All rights reserved.