public abstract class AbstractCompositeResourceBundleBuilder extends Object implements CompositeResourceBundleBuilder
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
ERROR_BASENAME_BLANK  | 
protected static String | 
ERROR_FILENAME_BLANK  | 
protected static String | 
ERROR_LOCALE_NULL  | 
protected static String | 
ERROR_RESOURCE_HANDLER_NULL  | 
protected static String | 
ERROR_SUFFIX_BLANK  | 
protected ResourceHandler | 
resourceHandler  | 
| Constructor and Description | 
|---|
AbstractCompositeResourceBundleBuilder(ResourceHandler resourceHandler)  | 
| Modifier and Type | Method and Description | 
|---|---|
ResourceBundle | 
create(String basename)  | 
ResourceBundle | 
create(String basename,
      Locale locale)  | 
protected URL | 
getResourceAsURL(String fileName,
                String suffix)  | 
protected ResourceHandler | 
getResourceHandler()  | 
protected List<URL> | 
getResources(String fileName,
            String suffix)  | 
protected abstract Collection<ResourceBundle> | 
loadBundlesFor(String basename)  | 
protected static final String ERROR_FILENAME_BLANK
protected static final String ERROR_SUFFIX_BLANK
protected static final String ERROR_RESOURCE_HANDLER_NULL
protected static final String ERROR_BASENAME_BLANK
protected static final String ERROR_LOCALE_NULL
protected final ResourceHandler resourceHandler
@Inject public AbstractCompositeResourceBundleBuilder(@Nonnull ResourceHandler resourceHandler)
@Nonnull public ResourceBundle create(@Nonnull String basename)
create in interface CompositeResourceBundleBuilder@Nonnull public ResourceBundle create(@Nonnull String basename, @Nonnull Locale locale)
create in interface CompositeResourceBundleBuilder@Nonnull protected ResourceHandler getResourceHandler()
@Nullable protected URL getResourceAsURL(@Nonnull String fileName, @Nonnull String suffix)
@Nullable protected List<URL> getResources(@Nonnull String fileName, @Nonnull String suffix)
@Nonnull protected abstract Collection<ResourceBundle> loadBundlesFor(@Nonnull String basename)