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