|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.util.GUIStrings
public class GUIStrings
Service for localized strings.
| Method Summary | |
|---|---|
static String |
get(Object code,
Object... params)
Gets a localized string. |
static String |
getIfPresent(String code)
Gets a string from its code if defined, or returns null if
it is not defined |
static Locale |
getLocale()
Gets the current locale |
static boolean |
isDefined(String key)
Checks if a string code is defined in the available bundles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String get(Object code,
Object... params)
code - String codeparams - String parameters
JStrings.get(Locale, String, Object...)public static String getIfPresent(String code)
null if
it is not defined
code - String code
null if the string code is not definedJStrings.get(Locale, String, boolean)public static Locale getLocale()
Locale.getDefault()public static boolean isDefined(String key)
key - String code
true if the string code is definedJStrings.isDefined(Locale, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||