|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.resourceloading.DelegatingResourceBundleLocator
public abstract class DelegatingResourceBundleLocator
Abstract base for all ResourceBundleLocator implementations, that
wish to delegate to some other locator.
| Constructor Summary | |
|---|---|
DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
Deprecated. Will be removed in a future release. Use DelegatingResourceBundleLocator(org.hibernate.validator.spi.resourceloading.ResourceBundleLocator)
instead. |
|
DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
Creates a new DelegatingResourceBundleLocator. |
|
| Method Summary | |
|---|---|
ResourceBundle |
getResourceBundle(Locale locale)
Returns a resource bundle for the given locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
DelegatingResourceBundleLocator(org.hibernate.validator.spi.resourceloading.ResourceBundleLocator)
instead.
DelegatingResourceBundleLocator.
delegate - The delegate.public DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
DelegatingResourceBundleLocator.
delegate - The delegate.| Method Detail |
|---|
public ResourceBundle getResourceBundle(Locale locale)
ResourceBundleLocator
getResourceBundle in interface ResourceBundleLocatorlocale - A locale, for which a resource bundle shall be retrieved. Must
not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||