|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.combex.e.edoc.ERes
Utility for integrating with javadoc tools and for localization.
Handle Resources. Access to error and warning counts. Message formatting.
java.util.ResourceBundle
,
java.text.MessageFormat
Field Summary | |
private static ResourceBundle |
messageRB
|
Constructor Summary | |
(package private) |
ERes()
|
Method Summary | |
(package private) static void |
error(String key)
Print error message, increment error count. |
(package private) static void |
error(String key,
String a1)
Print error message, increment error count. |
(package private) static void |
error(String key,
String a1,
String a2)
Print error message, increment error count. |
(package private) static void |
error(String key,
String a1,
String a2,
String a3)
Print error message, increment error count. |
(package private) static String |
getText(String key)
get and format message string from resource |
(package private) static String |
getText(String key,
String a1)
get and format message string from resource |
(package private) static String |
getText(String key,
String a1,
String a2)
get and format message string from resource |
(package private) static String |
getText(String key,
String a1,
String a2,
String a3)
get and format message string from resource |
(package private) static String |
getText(String key,
String a1,
String a2,
String a3,
String a4)
get and format message string from resource |
(package private) static void |
initResource()
Initialize ResourceBundle |
(package private) static void |
notice(String key)
Print a message. |
(package private) static void |
notice(String key,
String a1)
Print a message. |
(package private) static void |
notice(String key,
String a1,
String a2)
Print a message. |
(package private) static void |
notice(String key,
String a1,
String a2,
String a3)
Print a message. |
(package private) static void |
printError(String msg)
Print error message, increment error count. |
(package private) static void |
printNotice(String msg)
Print a message. |
(package private) static void |
printWarning(String msg)
Print warning message, increment warning count. |
(package private) static void |
warning(String key)
Print warning message, increment warning count. |
(package private) static void |
warning(String key,
String a1)
Print warning message, increment warning count. |
(package private) static void |
warning(String key,
String a1,
String a2)
Print warning message, increment warning count. |
(package private) static void |
warning(String key,
String a1,
String a2,
String a3)
Print warning message, increment warning count. |
(package private) static void |
warning(String key,
String a1,
String a2,
String a3,
String a4)
Print warning message, increment warning count. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ResourceBundle messageRB
Constructor Detail |
ERes()
Method Detail |
static void initResource()
static String getText(String key)
key
- selects message from resourcestatic String getText(String key, String a1)
key
- selects message from resourcea1
- first argumentstatic String getText(String key, String a1, String a2)
key
- selects message from resourcea1
- first argumenta2
- second argumentstatic String getText(String key, String a1, String a2, String a3)
key
- selects message from resourcea1
- first argumenta2
- second argumenta3
- third argumentstatic String getText(String key, String a1, String a2, String a3, String a4)
key
- selects message from resourcea1
- first argumenta2
- second argumenta3
- third argumenta4
- fourth argumentstatic void printError(String msg)
msg
- message to printstatic void printWarning(String msg)
msg
- message to printstatic void printNotice(String msg)
msg
- message to printstatic void error(String key)
key
- selects message from resourcestatic void error(String key, String a1)
key
- selects message from resourcea1
- first argumentstatic void error(String key, String a1, String a2)
key
- selects message from resourcea1
- first argumenta2
- second argumentstatic void error(String key, String a1, String a2, String a3)
key
- selects message from resourcea1
- first argumenta2
- second argumenta3
- third argumentstatic void warning(String key)
key
- selects message from resourcestatic void warning(String key, String a1)
key
- selects message from resourcea1
- first argumentstatic void warning(String key, String a1, String a2)
key
- selects message from resourcea1
- first argumenta2
- second argumentstatic void warning(String key, String a1, String a2, String a3)
key
- selects message from resourcea1
- first argumenta2
- second argumenta3
- third argumentstatic void warning(String key, String a1, String a2, String a3, String a4)
key
- selects message from resourcea1
- first argumenta2
- second argumenta3
- third argumentstatic void notice(String key)
key
- selects message from resourcestatic void notice(String key, String a1)
key
- selects message from resourcea1
- first argumentstatic void notice(String key, String a1, String a2)
key
- selects message from resourcea1
- first argumenta2
- second argumentstatic void notice(String key, String a1, String a2, String a3)
key
- selects message from resourcea1
- first argumenta2
- second argumenta3
- third argument
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |