| java.lang.Object org.continuent.sequoia.common.i18n.I18N
Method Summary | |
public static String | get(ResourceBundle bundle, String key) | public static String | get(ResourceBundle bundle, String key, boolean parameter) | public static String | get(ResourceBundle bundle, String key, int parameter) | public static String | get(ResourceBundle bundle, String key, long parameter) | public static String | get(ResourceBundle bundle, String key, Object[] parameters) Replace REPLACE_CHAR in the translated message with
parameters. | public static String | get(ResourceBundle bundle, String key, Object parameter) |
get | public static String get(ResourceBundle bundle, String key)(Code) | | Returns associated sentence to that key
Parameters: key - the key to find in the translation file Parameters: bundle - then translation bundle to use the corresponding sentence of the key if not found |
get | public static String get(ResourceBundle bundle, String key, boolean parameter)(Code) | | Returns translated key with instanciated parameters
Parameters: bundle - then translation bundle to use Parameters: key - the key to find in translation file. Parameters: parameter - the parameter value the corresponding sentence with key and parameters |
get | public static String get(ResourceBundle bundle, String key, int parameter)(Code) | | Returns translated key with instanciated parameters
Parameters: bundle - then translation bundle to use Parameters: key - the key to find in translation file. Parameters: parameter - the parameter value the corresponding sentence with key and parameters |
get | public static String get(ResourceBundle bundle, String key, long parameter)(Code) | | Returns translated key with instanciated parameters
Parameters: bundle - then translation bundle to use Parameters: key - the key to find in translation file. Parameters: parameter - the parameter value the corresponding sentence with key and parameters |
get | public static String get(ResourceBundle bundle, String key, Object[] parameters)(Code) | | Replace REPLACE_CHAR in the translated message with
parameters. If you have more parameters than charaters to replace,
remaining parameters are appended as a comma separated list at the end of
the message.
Parameters: bundle - then translation bundle to use Parameters: key - the key to find in the translation file Parameters: parameters - to put inside square braquets the corresponding sentence of the key if not found |
get | public static String get(ResourceBundle bundle, String key, Object parameter)(Code) | | Same as above but implies creation of an array for the parameter
Parameters: bundle - then translation bundle to use Parameters: key - to translate Parameters: parameter - to put in translation translated message |
|
|