|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Custom Localization allows for the localization properties to changed dynamically, without shutting down the application server.
Field Summary | |
static java.lang.String |
ACCEPT_LANGUAGE
|
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
java.util.ResourceBundle |
getBundle(org.apache.turbine.util.RunData data)
Get the resource bundle given the state of the current request. |
java.util.Locale |
getLocale(org.apache.turbine.util.RunData data)
Get the locale from the session first, then fallback to normal request headers. |
Methods inherited from interface org.apache.turbine.services.localization.LocalizationService |
getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getDefaultBundleName, getLocale, getLocale, getString, setBundle |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
public static final java.lang.String ACCEPT_LANGUAGE
Method Detail |
public java.util.Locale getLocale(org.apache.turbine.util.RunData data)
data
-
public java.util.ResourceBundle getBundle(org.apache.turbine.util.RunData data)
data
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |