|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.utils.i18n.Messages
public class Messages
| Constructor Summary | |
|---|---|
Messages()
|
|
| Method Summary | |
|---|---|
static String |
getMessage(String key)
Get a message from resource.properties from the package of the given object. |
static String |
getMessage(String key,
String arg0)
Get a message from resource.properties from the package of the given object. |
static String |
getMessage(String key,
String[] args)
Get a message from resource.properties from the package of the given object. |
static String |
getMessage(String key,
String arg0,
String arg1)
Get a message from resource.properties from the package of the given object. |
static String |
getMessage(String key,
String arg0,
String arg1,
String arg2)
Get a message from resource.properties from the package of the given object. |
static String |
getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3)
Get a message from resource.properties from the package of the given object. |
static String |
getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
Get a message from resource.properties from the package of the given object. |
static MessageBundle |
getMessageBundle()
|
static ResourceBundle |
getResourceBundle()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Messages()
| Method Detail |
|---|
public static String getMessage(String key)
key - The resource key
public static String getMessage(String key,
String arg0)
key - The resource keyarg0 - The argument to place in variable {0}
public static String getMessage(String key,
String arg0,
String arg1)
key - The resource keyarg0 - The argument to place in variable {0}arg1 - The argument to place in variable {1}
public static String getMessage(String key,
String arg0,
String arg1,
String arg2)
key - The resource keyarg0 - The argument to place in variable {0}arg1 - The argument to place in variable {1}arg2 - The argument to place in variable {2}
public static String getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3)
key - The resource keyarg0 - The argument to place in variable {0}arg1 - The argument to place in variable {1}arg2 - The argument to place in variable {2}arg3 - The argument to place in variable {3}
public static String getMessage(String key,
String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
key - The resource keyarg0 - The argument to place in variable {0}arg1 - The argument to place in variable {1}arg2 - The argument to place in variable {2}arg3 - The argument to place in variable {3}arg4 - The argument to place in variable {4}
public static String getMessage(String key,
String[] args)
key - The resource keyargs - An array of objects to place in corresponding variables
public static ResourceBundle getResourceBundle()
public static MessageBundle getMessageBundle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||