Package net.sourceforge.jnlp.runtime
Class Translator
java.lang.Object
net.sourceforge.jnlp.runtime.Translator
Utility class to provide simple methods to help localize messages
-
Method Summary
Modifier and TypeMethodDescriptionstatic Translator
protected String
getMessage
(String key, Object... args) static String
Return a translated (localized) version of the messagestatic String
static String
convenient method to show VVPossibleBrowserValues with all four params
-
Method Details
-
getInstance
-
R
Return a translated (localized) version of the message- Parameters:
message
- the message to translate- Returns:
- a string representing the localized message
-
R
- Parameters:
message
- key to be found in propertiesparams
- params to be expanded to message- Returns:
- the localized string for the message
-
VVPossibleBrowserValues
convenient method to show VVPossibleBrowserValues with all four params- Returns:
- translation of VVPossibleBrowserValues with all params in
-
getMessage
- Parameters:
key
- key to be found in propertiesargs
- params to be expanded to message- Returns:
- the localized resource string using the specified arguments.
-