public abstract class AbstractCompositeResourceBundleBuilder extends java.lang.Object implements CompositeResourceBundleBuilder
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ERROR_BASENAME_BLANK |
protected static java.lang.String |
ERROR_LOCALE_NULL |
Constructor and Description |
---|
AbstractCompositeResourceBundleBuilder() |
Modifier and Type | Method and Description |
---|---|
java.util.ResourceBundle |
create(java.lang.String basename) |
java.util.ResourceBundle |
create(java.lang.String basename,
java.util.Locale locale) |
protected abstract void |
initialize() |
protected abstract java.util.Collection<java.util.ResourceBundle> |
loadBundlesFor(java.lang.String basename) |
protected static final java.lang.String ERROR_BASENAME_BLANK
protected static final java.lang.String ERROR_LOCALE_NULL
public AbstractCompositeResourceBundleBuilder()
@Nonnull public java.util.ResourceBundle create(@Nonnull java.lang.String basename)
create
in interface CompositeResourceBundleBuilder
@Nonnull public java.util.ResourceBundle create(@Nonnull java.lang.String basename, @Nonnull java.util.Locale locale)
create
in interface CompositeResourceBundleBuilder
protected abstract void initialize()
@Nonnull protected abstract java.util.Collection<java.util.ResourceBundle> loadBundlesFor(@Nonnull java.lang.String basename)