|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.resteasy.hypermedia.renderer.i18n.ResourceBundleI18nProvider
@ApplicationScoped public class ResourceBundleI18nProvider
A provider based on resource bundles.
Field Summary | |
---|---|
static String |
DEFAULT_LOCATION The default location to search for link resource information. |
static String |
SYSTEM_KEY The key the provider looks up the location to search for link resource information. |
Constructor Summary | |
---|---|
ResourceBundleI18nProvider() |
Method Summary | |
---|---|
LocalizationProvider |
getProvider(Locale locale) Returns localized information for the specified locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SYSTEM_KEY
The value of this constant is "de.smartics.hypermedia.link".
"de.smartics.hypermedia.link"
public static final String DEFAULT_LOCATION
The value of this constant is "de/smartics/hypermedia/link".
"de/smartics/hypermedia/link"
Constructor Detail |
---|
public ResourceBundleI18nProvider()
Method Detail |
---|
public LocalizationProvider getProvider(Locale locale) throws NullPointerException
I18nProvider
getProvider
in interface
I18nProvider
locale
- the locale for which resource information is requested.
NullPointerException
- if
locale
is
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |