public abstract class I18NMessage extends Object implements Serializable
UNKNOWN_ENTRY_ID).| Modifier and Type | Field and Description |
|---|---|
static String |
UNKNOWN_ENTRY_ID
The default entry ID.
|
| Constructor and Description |
|---|
I18NMessage(I18NLoggerProxy loggerProxy,
String messageId)
Creates a new internationalized message with the given message
ID and the default entry ID.
|
I18NMessage(I18NLoggerProxy loggerProxy,
String messageId,
String entryId)
Creates a new internationalized message with the given message
and entry IDs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getEntryId()
Returns the receiver's entry ID.
|
I18NLoggerProxy |
getLoggerProxy()
Returns the logger proxy that can log the receiver.
|
String |
getMessageId()
Returns the receiver's message ID.
|
I18NMessageProvider |
getMessageProvider()
Returns the message provider that can map the receiver.
|
abstract int |
getParamCount()
Returns the number of parameters the receiver expects.
|
int |
hashCode() |
public static final String UNKNOWN_ENTRY_ID
public I18NMessage(I18NLoggerProxy loggerProxy, String messageId, String entryId)
loggerProxy - The logger proxy.messageId - The message ID.entryId - The entry ID.public I18NMessage(I18NLoggerProxy loggerProxy, String messageId)
loggerProxy - The logger proxy.messageId - The message ID.public I18NLoggerProxy getLoggerProxy()
public I18NMessageProvider getMessageProvider()
public String getMessageId()
public String getEntryId()
public abstract int getParamCount()
Copyright © 2015. All Rights Reserved.