|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.util.LocaleHelper
This class was used to provide translation of an URL filename into a localized format. However, it did not support Locale backoff and default locales. Please see LocalizedResource for the replace methods to use.
JAD
LocalizedResource
,
LocalizedResource.getLocalizedResourceName(Locale, String)
,
LocalizedResource.getLocalizedResourceName(WTContext, String)
Constructor Summary | |
LocaleHelper()
Deprecated. |
Method Summary | |
static String |
translateURLString(Locale locale,
String url_string)
Deprecated. |
static String |
translateURLString(WTContext context,
String url_string)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocaleHelper()
Method Detail |
public static String translateURLString(Locale locale, String url_string)
Replaced by wt/util/LocalizedResource.getLocalizedResourceName( locale, url_string)
locale
- the Locale in which the HTML file
will be displayedurl_string
- the URL string to be changed to
the correct localeLocalizedResource
public static String translateURLString(WTContext context, String url_string)
Replaced by wt/util/LocalizedResource.getLocalizedResourceName( WTContext, String)
context
- the WTContext for the clienturl_string
- the URL string to be changed to
the correct localeLocalizedResource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |