org.apache.commons.resources
Interface Message
- All Known Implementing Classes:
- BasicMessage
- public interface Message
An encapsulation of an individual message stored in a MessageList object, consisting
of a message key (to be used to look up message text in an appropriate
message resources database) plus up to four placeholder objects that can
be used for parametric replacement in the message text.
Orginally based on org.apache.http.action.ActionMessage, Revision 1.5.
getKey
public String getKey()
- Returns:
- Get the message key for this message.
getValues
public Object[] getValues()
- Returns:
- Get the replacement values for this message.
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.