@Named(value="properties") public class PropertiesResourceBundleLoader extends AbstractResourceBundleLoader
Modifier and Type | Field and Description |
---|---|
protected static String |
PROPERTIES_SUFFIX |
protected PropertiesReader |
propertiesReader |
ERROR_FILENAME_BLANK, ERROR_RESOURCE_HANDLER_NULL, ERROR_SUFFIX_BLANK, resourceHandler
Constructor and Description |
---|
PropertiesResourceBundleLoader(ResourceHandler resourceHandler,
PropertiesReader propertiesReader) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceBundle> |
load(String name) |
getResourceAsURL, getResourceHandler, getResources
protected static final String PROPERTIES_SUFFIX
protected final PropertiesReader propertiesReader
@Inject public PropertiesResourceBundleLoader(@Nonnull ResourceHandler resourceHandler, @Nonnull PropertiesReader propertiesReader)
@Nonnull public Collection<ResourceBundle> load(@Nonnull String name)