|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.l10n.MessageInfo
public abstract class MessageInfo
Holder of meta-information about a generic message.
| Field Summary | |
|---|---|
static MessageInfo[] |
EMPTY_ARRAY
An empty array of class instances. |
| Constructor Summary | |
|---|---|
MessageInfo(String key,
int paramCount)
Creates a new meta-information holder with the given message key and parameter count. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getKey()
Returns the receiver's message key. |
static Properties |
getList(MessageInfo[] info)
Returns the given collection of message information as a properties object. |
int |
getParamCount()
Returns the receiver's parameter count. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final MessageInfo[] EMPTY_ARRAY
| Constructor Detail |
|---|
public MessageInfo(String key,
int paramCount)
key - The key.paramCount - The parameter count; -1 signifies an unknown
count.| Method Detail |
|---|
public static Properties getList(MessageInfo[] info)
info - The collection of message information.
public String getKey()
public int getParamCount()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||