java.lang.Object | +----javax.help.HelpUtilities
public HelpUtilities()
public static java.lang.String getHelpSetNameFromBean(java.lang.Class beanClass)
beanClass
- The Class
public static java.lang.String getIDStringFromBean(java.lang.Class beanClass)
beanClass
- the Class
public static java.lang.String getDefaultQueryEngine()
public static java.net.URL getLocalizedResource(java.lang.ClassLoader cl, java.lang.String front, java.lang.String back, java.util.Locale locale)
cl
- The ClassLoader to get the resource from. If cl is null the default
ClassLoader is used.
public static java.net.URL getLocalizedResource(java.lang.ClassLoader cl, java.lang.String front, java.lang.String back, java.util.Locale locale, boolean tryRead)
cl
- The ClassLoader to get the resource from. If cl is null the default
ClassLoader is used.
public static java.util.Enumeration getCandidates(java.util.Locale locale)
"_" + language1 + "_" + country1 + "_" + variant1
"_" + language1 + "_" + country1
"_" + language1
""
"_" + language2 + "_" + country2 + "_" + variant2
"_" + language2 + "_" + country2
"_" + language2
The enumeration is of StringBuffer.
We pay some attention to efficiency in case a method like this is promoted,
hence we cache per locale.
public static java.util.Locale getLocale(java.awt.Component c)
public static java.lang.String getString(java.lang.String key)
public static java.lang.String getText(java.lang.String key)
public static java.lang.String getText(java.lang.String key, java.lang.String s1)
s1
- The first parameter of a string. A null is valid for s1.
public static java.lang.String getText(java.lang.String key, java.lang.String s1, java.lang.String s2)
s1
- The first parameter of a string. A null is valid for s1.
s2
- The first parameter of a string. A null is valid for s2.
public static java.lang.String getText(java.lang.String key, java.lang.String s1, java.lang.String s2, java.lang.String s3)
s1
- The first parameter of a string. A null is valid for s1.
s2
- The first parameter of a string. A null is valid for s2.
s3
- The first parameter of a string. A null is valid for s3.
public static java.lang.String getString(java.util.Locale l, java.lang.String key)
public static java.lang.String[] getStringArray(java.util.Locale l, java.lang.String key)
public static java.lang.String getText(java.util.Locale l, java.lang.String key)
s1
- The first parameter of a string. A null is valid for s1.
s2
- The first parameter of a string. A null is valid for s2.
s3
- The first parameter of a string. A null is valid for s3.
public static java.lang.String getText(java.util.Locale l, java.lang.String key, java.lang.String s1)
s1
- The first parameter of a string. A null is valid for s1.
public static java.lang.String getText(java.util.Locale l, java.lang.String key, java.lang.String s1, java.lang.String s2)
s1
- The first parameter of a string. A null is valid for s1.
s2
- The first parameter of a string. A null is valid for s2.
public static java.lang.String getText(java.util.Locale l, java.lang.String key, java.lang.String s1, java.lang.String s2, java.lang.String s3)
s1
- The first parameter of a string. A null is valid for s1.
s2
- The first parameter of a string. A null is valid for s2.
s3
- The first parameter of a string. A null is valid for s3.
public static java.util.Locale localeFromLang(java.lang.String lang)
lang
- A String representation of a locale, with the language,
country and variant separated by underbars. Language is always lower
case, and country is always upper case. If the language is missing the
String begins with an underbar. If both language and country fields are
missing, a null Locale is returned. If lang is null a null Locale is
returned
public static boolean isStringInString(java.text.RuleBasedCollator rbc, java.lang.String source, java.lang.String target)