| java.lang.Object com.teamkonzept.international.LanguageManager
LanguageManager | public class LanguageManager implements LanguageSelection(Code) | | The language manager.
author: $Author: uli $ version: $Revision: 1.25 $ |
getAppliableLanguage | public static String getAppliableLanguage()(Code) | | returns the language as a ISO 639 language code, as it would be used
for a getText() method call.
|
getLocale | public static Locale getLocale(String language)(Code) | | holt eine gecachte Locale instanz oder erzeugt eine neue
|
getStandardLocale | public static Locale getStandardLocale()(Code) | | |
getText | public static String getText(String context, String identifier)(Code) | | Returns the specified internationalized text token.
Parameters: context - the name of the context. Parameters: identifier - the identifier of the text token. the specified internationalized text token. |
getText | public static String getText(String context, String identifier, Object[] arguments)(Code) | | Returns the specified internationalized text token.
Parameters: context - the name of the context. Parameters: identifier - the identifier of the text token. Parameters: arguments - the arguments of the text token. the specified internationalized text token. |
registerContext | public static void registerContext(String context, Object source)(Code) | | registriert Kontext und den Ort -> Properties mussen also in dem Package der uebergebenen
Klasse liegen
Parameters: context - name des Kontexts Parameters: source - die aufrufende Klasse, um den Ort des PropertyFiles zu bestimmen |
setLanguageSelection | public static void setLanguageSelection(int code)(Code) | | |
|
|