public abstract class MessageInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static MessageInfo[] |
EMPTY_ARRAY
An empty array of class instances.
|
| Constructor and Description |
|---|
MessageInfo(String key,
int paramCount)
Creates a new meta-information holder with the given message
key and parameter count.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public static final MessageInfo[] EMPTY_ARRAY
public MessageInfo(String key, int paramCount)
key - The key.paramCount - The parameter count; -1 signifies an unknown
count.public static Properties getList(MessageInfo[] info)
info - The collection of message information.public String getKey()
public int getParamCount()
Copyright © 2015. All Rights Reserved.