public class ResourceBundleTextProvider extends AbstractTextProvider
| 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, getTextWithLocaleFallbackAndArgsgetText, getTextWithLocaleFallbackclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetText, getTextWithLocaleFallbackpublic ResourceBundleTextProvider(@Nonnull String sBundleName, @Nonnull String sKey)
public ResourceBundleTextProvider(@Nonnull ResourceBundleKey aResBundleKey)
@Nullable protected Locale internalGetLocaleToUseWithFallback(@Nullable Locale aContentLocale)
AbstractSimpleTextProviderinternalGetLocaleToUseWithFallback in class AbstractSimpleTextProvideraContentLocale - Requested localenull.@Nullable protected String internalGetText(@Nonnull Locale aContentLocale)
AbstractSimpleTextProviderinternalGetText in class AbstractSimpleTextProvideraContentLocale - locale to usenull if no such text present in the passed localeCopyright © 2006–2015 phloc systems. All rights reserved.