| java.lang.Object de.danet.an.workflow.api.PrioritizedMessage
PrioritizedMessage | public class PrioritizedMessage implements java.io.Serializable(Code) | | This class presents a prioritized message that will be internationalized
using the specified resource bundle and the referenced entry. For details
see the description of its class contructor.
|
PrioritizedMessage | public PrioritizedMessage(Priority priority, String message)(Code) | | Constructs a prioritized message. If the message has the format
"a.resource.bundle.base.name#key " it is interpreted as the
base name of a
java.util.ResourceBundleReosurceBundle and the key of an entry in this
resource bundle.
Parameters: priority - the priority of the given message. Parameters: message - a message or a resource and key reference. See Also: PrioritizedMessage.message |
PrioritizedMessage | public PrioritizedMessage(Priority priority, String message, Object[] data)(Code) | | Constructs a prioritized message. If the message has the format
"a.resource.bundle.base.name#key " it is interpreted as the
base name of a
java.util.ResourceBundleReosurceBundle and the key of an entry in this
resource bundle.
If the parameter data is not null ,
the message (or the string looked up in the resource bundle)
will be fomatted using
java.text.MessageFormat.format(StringObject[])MessageFormat.format .
Parameters: priority - the priority of the given message. Parameters: message - a message or a resource and key reference. Parameters: data - additional data used when formatting the message. See Also: PrioritizedMessage.message |
message | public String message()(Code) | | Returns the message. If the message has the format
"a.resource.bundle.base.name#key ", it will be
internationalized using the specified resource bundle and the
referenced entry with the default
LocaleLocale .
the message. See Also: PrioritizedMessage.message(Locale) |
message | public String message(Locale locale)(Code) | | Returns the message. If the message has the format
"a.resource.bundle.base.name#key ", it will be
internationalized using the specified resource bundle and the
referenced entry using the given
LocaleLocale .
Parameters: locale - the Locale to be used forresource bundle lookup. the message. |
priority | public Priority priority()(Code) | | Returns the priority of the message.
the priority of the message. |
toString | public String toString()(Code) | | Returns a string representation of the message.
a string representation. |
unmappedMessage | public String unmappedMessage()(Code) | | Returns the message that it is not internationalized.
the message. |
|
|