| java.lang.Object com.sun.tools.doclets.internal.toolkit.util.MessageRetriever
MessageRetriever | public class MessageRetriever (Code) | | Retrieve and format messages stored in a resource.
This code is not part of an API.
It is implementation that is subject to change.
Do not use it as an API
since: 1.2 author: Atul M Dambalkar author: Robert Field |
Method Summary | |
public void | error(SourcePosition pos, String key) Print error message, increment error count. | public void | error(String key) Print error message, increment error count. | public void | error(SourcePosition pos, String key, String a1) Print error message, increment error count. | public void | error(String key, String a1) Print error message, increment error count. | public void | error(SourcePosition pos, String key, String a1, String a2) Print error message, increment error count. | public void | error(String key, String a1, String a2) Print error message, increment error count. | public void | error(SourcePosition pos, String key, String a1, String a2, String a3) Print error message, increment error count. | public void | error(String key, String a1, String a2, String a3) Print error message, increment error count. | public String | getText(String key) | public String | getText(String key, String a1) | public String | getText(String key, String a1, String a2) | public String | getText(String key, String a1, String a2, String a3) | public void | notice(SourcePosition pos, String key) Print a message. | public void | notice(String key) Print a message. | public void | notice(SourcePosition pos, String key, String a1) Print a message. | public void | notice(String key, String a1) Print a message. | public void | notice(SourcePosition pos, String key, String a1, String a2) Print a message. | public void | notice(String key, String a1, String a2) Print a message. | public void | notice(SourcePosition pos, String key, String a1, String a2, String a3) Print a message. | public void | notice(String key, String a1, String a2, String a3) Print a message. | public void | warning(SourcePosition pos, String key) Print warning message, increment warning count. | public void | warning(String key) Print warning message, increment warning count. | public void | warning(SourcePosition pos, String key, String a1) Print warning message, increment warning count. | public void | warning(String key, String a1) Print warning message, increment warning count. | public void | warning(SourcePosition pos, String key, String a1, String a2) Print warning message, increment warning count. | public void | warning(String key, String a1, String a2) Print warning message, increment warning count. | public void | warning(SourcePosition pos, String key, String a1, String a2, String a3) Print warning message, increment warning count. | public void | warning(String key, String a1, String a2, String a3) Print warning message, increment warning count. |
MessageRetriever | public MessageRetriever(ResourceBundle rb)(Code) | | Initilize the ResourceBundle with the given resource.
Parameters: rb - the esource bundle to read. |
MessageRetriever | public MessageRetriever(Configuration configuration, String resourcelocation)(Code) | | Initilize the ResourceBundle with the given resource.
Parameters: configuration - the configuration Parameters: resourcelocation - Resource. |
error | public void error(SourcePosition pos, String key)(Code) | | Print error message, increment error count.
Parameters: pos - the position of the source Parameters: key - selects message from resource |
error | public void error(String key)(Code) | | Print error message, increment error count.
Parameters: key - selects message from resource |
error | public void error(SourcePosition pos, String key, String a1)(Code) | | Print error message, increment error count.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. |
error | public void error(String key, String a1)(Code) | | Print error message, increment error count.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. |
error | public void error(SourcePosition pos, String key, String a1, String a2)(Code) | | Print error message, increment error count.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
error | public void error(String key, String a1, String a2)(Code) | | Print error message, increment error count.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
error | public void error(SourcePosition pos, String key, String a1, String a2, String a3)(Code) | | Print error message, increment error count.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. |
error | public void error(String key, String a1, String a2, String a3)(Code) | | Print error message, increment error count.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. |
getText | public String getText(String key)(Code) | | get and format message string from resource
Parameters: key - selects message from resource |
getText | public String getText(String key, String a1)(Code) | | Get and format message string from resource
Parameters: key - selects message from resource Parameters: a1 - Argument, to be repalced in the message. |
getText | public String getText(String key, String a1, String a2)(Code) | | Get and format message string from resource
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
getText | public String getText(String key, String a1, String a2, String a3) throws MissingResourceException(Code) | | Get and format message string from resource
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. throws: MissingResourceException - when the key does notexist in the properties file. |
notice | public void notice(SourcePosition pos, String key)(Code) | | Print a message.
Parameters: pos - the position of the source Parameters: key - selects message from resource |
notice | public void notice(String key)(Code) | | Print a message.
Parameters: key - selects message from resource |
notice | public void notice(SourcePosition pos, String key, String a1)(Code) | | Print a message.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. |
notice | public void notice(String key, String a1)(Code) | | Print a message.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. |
notice | public void notice(SourcePosition pos, String key, String a1, String a2)(Code) | | Print a message.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
notice | public void notice(String key, String a1, String a2)(Code) | | Print a message.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
notice | public void notice(SourcePosition pos, String key, String a1, String a2, String a3)(Code) | | Print a message.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. |
notice | public void notice(String key, String a1, String a2, String a3)(Code) | | Print a message.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. |
warning | public void warning(SourcePosition pos, String key)(Code) | | Print warning message, increment warning count.
Parameters: pos - the position of the source Parameters: key - selects message from resource |
warning | public void warning(String key)(Code) | | Print warning message, increment warning count.
Parameters: key - selects message from resource |
warning | public void warning(SourcePosition pos, String key, String a1)(Code) | | Print warning message, increment warning count.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. |
warning | public void warning(String key, String a1)(Code) | | Print warning message, increment warning count.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. |
warning | public void warning(SourcePosition pos, String key, String a1, String a2)(Code) | | Print warning message, increment warning count.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
warning | public void warning(String key, String a1, String a2)(Code) | | Print warning message, increment warning count.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. |
warning | public void warning(SourcePosition pos, String key, String a1, String a2, String a3)(Code) | | Print warning message, increment warning count.
Parameters: pos - the position of the source Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. |
warning | public void warning(String key, String a1, String a2, String a3)(Code) | | Print warning message, increment warning count.
Parameters: key - selects message from resource Parameters: a1 - first argument to be replaced in the message. Parameters: a2 - second argument to be replaced in the message. Parameters: a3 - third argument to be replaced in the message. |
|
|