|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.webdynpro.services.sal.localization.api.WDResourceHandler
The class WDResourceHandler is used to access instances
of type IWDResourceHandler.
Example: An IWDResourceHandler object can be accessed as follows:
IWDResourceHandler resourceHandler = WDResourceHandler.createResourceHandler(Locale.GERMAN);
IWDResourceHandler| Constructor Summary | |
WDResourceHandler()
|
|
| Method Summary | |
static IWDResourceHandler |
createResourceHandler(java.util.Locale locale)
Return is the resource handler representing the set locale. |
static IWDResourceHandler |
createResourceHandler(java.util.Locale locale,
java.util.TimeZone timezone)
Return is the resource handler representing the set locale and timezone. |
static IWDResourceHandler |
createResourceHandlerForCurrentSession()
Return is the resource handler with the locale for the current session. |
static IWDResourceHandler |
createResourceHandlerForCurrentUser()
Return is the resource handler with the locale for the current client user. |
static java.util.Locale |
getCurrentSessionLocale()
Return is the locale for the current session. |
static java.util.Locale |
getCurrentUserLocale()
Deprecated. Use WDClientUser.getCurrentUser().getLocale() instead.
This method may be withdrawn with the first new NetWeaver release in 2006. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WDResourceHandler()
| Method Detail |
public static IWDResourceHandler createResourceHandler(java.util.Locale locale,
java.util.TimeZone timezone)
locale - the locale to be usedtimezone - the timezone to be usedpublic static IWDResourceHandler createResourceHandler(java.util.Locale locale)
null,
the default locale of the virtual machine is used.locale - the locale to be usedpublic static IWDResourceHandler createResourceHandlerForCurrentUser()
getCurrentUserLocale.getCurrentUserLocale()public static IWDResourceHandler createResourceHandlerForCurrentSession()
getCurrentSessionLocale().getCurrentSessionLocale()public static java.util.Locale getCurrentUserLocale()
WDClientUser.getCurrentUser().getLocale() instead.
This method may be withdrawn with the first new NetWeaver release in 2006.
public static java.util.Locale getCurrentSessionLocale()
IWDClientUser.getLocale() for
a description of the fallback sequence that is used to determine the
locale for the current session.
Note that the session locale is determined once for each client session and then stored as part of the session. If e.g. the browser locale is used as session locale and the locale is changed in the browser settings, the change first becomes effective after a new browser instance is opened.
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||