@Named(value="properties") public class PropertiesResourceBundleLoader extends AbstractResourceBundleLoader
Modifier and Type | Field and Description |
---|---|
protected static java.lang.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 |
---|---|
java.util.Collection<java.util.ResourceBundle> |
load(java.lang.String name) |
getResourceAsURL, getResourceHandler, getResources
protected static final java.lang.String PROPERTIES_SUFFIX
protected final PropertiesReader propertiesReader
@Inject public PropertiesResourceBundleLoader(@Nonnull ResourceHandler resourceHandler, @Nonnull PropertiesReader propertiesReader)