public abstract class AbstractResourceBundleLoader extends java.lang.Object implements ResourceBundleLoader
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ERROR_FILENAME_BLANK |
protected static java.lang.String |
ERROR_RESOURCE_HANDLER_NULL |
protected static java.lang.String |
ERROR_SUFFIX_BLANK |
protected ResourceHandler |
resourceHandler |
Constructor and Description |
---|
AbstractResourceBundleLoader(ResourceHandler resourceHandler) |
Modifier and Type | Method and Description |
---|---|
protected java.net.URL |
getResourceAsURL(java.lang.String fileName,
java.lang.String suffix) |
protected ResourceHandler |
getResourceHandler() |
protected java.util.List<java.net.URL> |
getResources(java.lang.String fileName,
java.lang.String suffix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load
protected static final java.lang.String ERROR_FILENAME_BLANK
protected static final java.lang.String ERROR_SUFFIX_BLANK
protected static final java.lang.String ERROR_RESOURCE_HANDLER_NULL
protected final ResourceHandler resourceHandler
@Inject public AbstractResourceBundleLoader(@Nonnull ResourceHandler resourceHandler)
@Nonnull protected ResourceHandler getResourceHandler()
@Nullable protected java.net.URL getResourceAsURL(@Nonnull java.lang.String fileName, @Nonnull java.lang.String suffix)
@Nullable protected java.util.List<java.net.URL> getResources(@Nonnull java.lang.String fileName, @Nonnull java.lang.String suffix)