Methods Summary |
---|
public void | error(java.lang.String key)Print error message, increment error count.
printError(getText(key));
|
public void | error(java.lang.String key, java.lang.String a1)Print error message, increment error count.
printError(getText(key, a1));
|
public void | error(java.lang.String key, java.lang.String a1, java.lang.String a2)Print error message, increment error count.
printError(getText(key, a1, a2));
|
public void | error(java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)Print error message, increment error count.
printError(getText(key, a1, a2, a3));
|
public java.lang.String | getText(java.lang.String key)get and format message string from resource
return getText(key, (String)null);
|
public java.lang.String | getText(java.lang.String key, java.lang.String a1)Get and format message string from resource
return getText(key, a1, null);
|
public java.lang.String | getText(java.lang.String key, java.lang.String a1, java.lang.String a2)Get and format message string from resource
return getText(key, a1, a2, null);
|
public java.lang.String | getText(java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)Get and format message string from resource
try {
String message = messageRB.getString(key);
String[] args = new String[3];
args[0] = a1;
args[1] = a2;
args[2] = a3;
return MessageFormat.format(message, args);
} catch (MissingResourceException e) {
throw new Error("Fatal: Resource for javadoc is broken. There is no " + key + " key in resource.");
}
|
public void | notice(java.lang.String key)Print a message.
printNotice(getText(key));
|
public void | notice(java.lang.String key, java.lang.String a1)Print a message.
printNotice(getText(key, a1));
|
public void | notice(java.lang.String key, java.lang.String a1, java.lang.String a2)Print a message.
printNotice(getText(key, a1, a2));
|
public void | notice(java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)Print a message.
printNotice(getText(key, a1, a2, a3));
|
static void | printError(java.lang.String msg)Print error message, increment error count.
if (Configuration.root != null) {
Configuration.root.printError(msg);
} else {
System.err.println(/* Main.program + ": " + */ msg);
}
|
static void | printNotice(java.lang.String msg)Print a message.
if (Configuration.root != null) {
Configuration.root.printNotice(msg);
} else {
System.out.println(msg);
}
|
static void | printWarning(java.lang.String msg)Print warning message, increment warning count.
if (Configuration.root != null) {
Configuration.root.printWarning(msg);
} else {
System.err.println(/* Main.program + ": warning - " + */ "Warning: " + msg);
}
|
public void | warning(java.lang.String key)Print warning message, increment warning count.
printWarning(getText(key));
|
public void | warning(java.lang.String key, java.lang.String a1)Print warning message, increment warning count.
printWarning(getText(key, a1));
|
public void | warning(java.lang.String key, java.lang.String a1, java.lang.String a2)Print warning message, increment warning count.
printWarning(getText(key, a1, a2));
|
public void | warning(java.lang.String key, java.lang.String a1, java.lang.String a2, java.lang.String a3)Print warning message, increment warning count.
printWarning(getText(key, a1, a2, a3));
|