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