|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.UpdateInstaller.UpdateInstallerMsgs
public class UpdateInstallerMsgs
Implements the messaging and logging functions required by the update installer
| Field Summary | |
|---|---|
static int |
DEBUG
DEBUG log level |
static int |
ERROR
ERROR log level |
static int |
FATAL
FATAL log level |
static int |
INFO
INFO log level |
static int |
TRACE
TRACE log level |
static int |
WARN
WARN log level |
| Constructor Summary | |
|---|---|
UpdateInstallerMsgs()
Default class constructor for the UpdateInstallerMsgs object |
|
| Method Summary | |
|---|---|
static String |
getString(String resource)
Return the NLS string given the resource |
static String |
getString(String resource,
Object param)
Return the NLS string given the resource and a parameter |
static String |
getString(String resource,
Object[] params)
Returns the NLS string value for the passed "resource" (key) and replaces the placeholders {0},{1},etc by the corresponding params[0], params[1], etc. |
static String |
getString(String resource,
Object param,
Object param2)
Return the NLS string given the resource and 2 parameters |
static String |
getString(String resource,
Object param,
Object param2,
Object param3)
Return the NLS string given the resource and 3 parameters |
static String |
getString(String resource,
Object param,
Object param2,
Object param3,
Object param4)
Return the NLS string given the resource and 4 parameters |
static String |
getString(String resource,
Object param,
Object param2,
Object param3,
Object param4,
Object param5)
Return the NLS string given the resource and 5 parameters |
static String |
getString(String resource,
Object param,
Object param2,
Object param3,
Object param4,
Object param5,
Object param6)
Return the NLS string given the resource and 6 parameters |
static void |
log(String msg,
int level)
Logs the specified message with the specified level using the log4j utility. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FATAL
public static final int ERROR
public static final int WARN
public static final int INFO
public static final int DEBUG
public static final int TRACE
| Constructor Detail |
|---|
public UpdateInstallerMsgs()
| Method Detail |
|---|
public static String getString(String resource)
resource - The TMS file resource to be looked up from the resource bundle
public static String getString(String resource,
Object param)
resource - The TMS file resource to be looked up from the resource bundleparam - A parameter to substitute into a variable in the resource
string
public static String getString(String resource,
Object param,
Object param2)
resource - The TMS file resource to be looked up from the resource bundleparam - A parameter to substitute into the 1st variable in the
resource stringparam2 - A parameter to substitute into the 2nd variable in the
resource string
public static String getString(String resource,
Object param,
Object param2,
Object param3)
resource - The TMS file resource to be looked up from the resource bundleparam - A parameter to substitute into the 1st variable in the
resource stringparam2 - A parameter to substitute into the 2nd variable in the
resource stringparam3 - A parameter to substitute into the 3rd variable in the
resource string
public static String getString(String resource,
Object param,
Object param2,
Object param3,
Object param4)
resource - The TMS file resource to be looked up from the resource bundleparam - A parameter to substitute into the 1st variable in the
resource stringparam2 - A parameter to substitute into the 2nd variable in the
resource stringparam3 - A parameter to substitute into the 3rd variable in the
resource stringparam4 - A parameter to substitute into the 4th variable in the
resource string
public static String getString(String resource,
Object param,
Object param2,
Object param3,
Object param4,
Object param5)
resource - The TMS file resource to be looked up from the resource bundleparam - A parameter to substitute into the 1st variable in the
resource stringparam2 - A parameter to substitute into the 2nd variable in the
resource stringparam3 - A parameter to substitute into the 3rd variable in the
resource stringparam4 - A parameter to substitute into the 4th variable in the
resource stringparam5 - A parameter to substitute into the 5th variable in the
resource string
public static String getString(String resource,
Object param,
Object param2,
Object param3,
Object param4,
Object param5,
Object param6)
resource - The TMS file resource to be looked up from the resource bundleparam - A parameter to substitute into the 1st variable in the
resource stringparam2 - A parameter to substitute into the 2nd variable in the
resource stringparam3 - A parameter to substitute into the 3rd variable in the
resource stringparam4 - A parameter to substitute into the 4th variable in the
resource stringparam5 - A parameter to substitute into the 5th variable in the
resource stringparam6 - A parameter to substitute into the 6th variable in the
resource string
public static String getString(String resource,
Object[] params)
resource - The key whose value is to be retrieved.params - An array of strings which will replace placeholders
public static void log(String msg,
int level)
msg - The message to be loggedlevel - The level at which to log this message
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||