|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.EonMessage
public class EonMessage
This class is provide for backwards compatability with previous versions of BankFrame MCA. This class has been superceded by com.bankframe.localization.BankFrameMessage. This class will be deprecated in a future version of BankFrame MCA
| Constructor Summary | |
|---|---|
EonMessage()
|
|
| Method Summary | |
|---|---|
static String |
format(int errorNumber)
This method will return a specified message from the BankframeMessages resource bundle using the default locale. |
static String |
format(int errorNumber,
Locale locale)
This method will return a specified message from the BankframeMessages resource bundle for a specified locale. |
static String |
format(int errorNumber,
Object[] parameters)
Deprecated. use format(int errorNumber, String[] parameters) |
static String |
format(int errorNumber,
Object[] parameters,
Locale locale)
This method will return the message from the BankframeMessages Resource Bundle for a specified locale based on the key passed in. |
static String |
format(int errorNumber,
String[] parameters)
This method will return the message from the BankframeMessages resource bundle for the default locale based on the key passed in. |
static String |
format(int errorNumber,
String[] parameters,
Locale locale)
This method will return a specified message from the BankframeMessages resource bundle for a specified locale. |
static Locale |
getLocale(String langCountryCode)
This method is a convience method which converts a ISO Language-Country Code String to a Locale object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EonMessage()
| Method Detail |
|---|
public static String format(int errorNumber)
errorNumber - int The key identifying the message in the properties file.
String Message for associated with error number for the default locale.
public static String format(int errorNumber,
Object[] parameters)
errorNumber - int The key identifying the message in the properties file.parameters - an array of parameters to substituted into the returned string.
public static String format(int errorNumber,
Object[] parameters,
Locale locale)
errorNumber - int The key identifying the message in the properties file.locale - Locale The locale to retreive messages for.parameters - an array of parameters to substituted into the returned string.
public static String format(int errorNumber,
String[] parameters)
errorNumber - int The key identifying the message in the properties file.parameters - an array of parameters to substituted into the returned string.
public static String format(int errorNumber,
String[] parameters,
Locale locale)
errorNumber - int The key identifying the message in the properties file.locale - Locale The locale to retreive messages for.
public static String format(int errorNumber,
Locale locale)
errorNumber - int The key identifying the message in the properties file.locale - Locale The locale to retreive messages for.
public static Locale getLocale(String langCountryCode)
langCountryCode - String ISO Language-Country Code in the form Language-Country
e.g. en-IE (English-Ireland), de-DE (German,Germany). Language-Country
can be sepeatated by the following deliminators '-_;,'.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||