net.sf.magicproject.ui.i18n
Class LanguageManagerMDB
java.lang.Object
net.sf.magicproject.ui.i18n.LanguageManagerMDB
public final class LanguageManagerMDB
- extends java.lang.Object
LanguageManager.java Created on 23 janv. 2004
- Since:
- 0.54.16, 0.54.17 in case of the main language didn't contain the specified, 0.54.18 language extension is no more $lang, but .lang to suit to key,
we search in the secondary one linux users, and so sourceforge web
hosting
- Author:
- Fabrice Daugan
Method Summary |
static java.lang.String |
getString(java.lang.String key)
|
static java.lang.String |
getString(java.lang.String key,
java.lang.Object[] parameters)
|
static java.lang.String |
getString(java.lang.String key,
java.lang.String parameter)
|
static void |
setMdb(java.lang.String newMdb)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getString
public static java.lang.String getString(java.lang.String key)
- Parameters:
key
-
- Returns:
- the message associated to the key
- Since:
- 0.54.17 in case of the main language didn't contain the specified
key, we search in the secondary one, 0.86 in case of the key has not been found in no defined languages,
the "-[0-9]*-" string of key is replaced by "%n" and the caught
value is passed as parameter. If the key not found, the original key
is returned.
getString
public static java.lang.String getString(java.lang.String key,
java.lang.Object[] parameters)
- Parameters:
key
- parameters
-
- Returns:
- the message associated to the key
- Since:
- 0.85.38 parameters
getString
public static java.lang.String getString(java.lang.String key,
java.lang.String parameter)
- Parameters:
key
- parameter
-
- Returns:
- the message associated to the key
- Since:
- 0.85.38 parameter
setMdb
public static void setMdb(java.lang.String newMdb)
- Parameters:
newMdb
-
Copyright © 2003-2007 Magic-Project. All Rights Reserved.