|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.services.Messages
Messages is to initial and keep the instance of the resource bundle of the trace message and the exception message
Field Summary | |
---|---|
static java.util.ResourceBundle |
exceptionBundle
Define exception resource bundle. |
static java.util.ResourceBundle |
traceBundle
define trace resource bundle. |
Constructor Summary | |
---|---|
Messages(java.lang.String tracePropertyFile,
java.lang.String exceptionPropertyFile)
Constructor of Message, it is to initialize the resource bundle of the trace message and the exception message. |
Method Summary | |
---|---|
static java.lang.String |
formatMsg(java.lang.String pattern,
java.lang.Object[] args)
Format the message. |
static java.util.ResourceBundle |
getExceptionBundle()
Returns the exceptionBundle. |
static java.util.ResourceBundle |
getTraceBundle()
Returns the traceBundle. |
static void |
setExceptionBundle(java.util.ResourceBundle bundle)
Sets the exceptionBundle. |
static void |
setTraceBundle(java.util.ResourceBundle bundle)
Sets the traceBundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.util.ResourceBundle traceBundle
public static java.util.ResourceBundle exceptionBundle
Constructor Detail |
public Messages(java.lang.String tracePropertyFile, java.lang.String exceptionPropertyFile)
Method Detail |
public static java.util.ResourceBundle getExceptionBundle()
public static java.util.ResourceBundle getTraceBundle()
public static void setExceptionBundle(java.util.ResourceBundle bundle)
bundle
- The exceptionBundle to setpublic static void setTraceBundle(java.util.ResourceBundle bundle)
bundle
- The traceBundle to setpublic static java.lang.String formatMsg(java.lang.String pattern, java.lang.Object[] args)
pattern
- The message patternargs
- Argument of message patter
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |