public interface SoyMsgBundle extends Iterable<SoyMsg>
| Modifier and Type | Field and Description |
|---|---|
static SoyMsgBundle |
EMPTY
Null object for SoyMsgBundle, assumes English Locale.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocaleString()
Gets the language/locale string of this bundle of messages.
|
SoyMsg |
getMsg(long msgId)
Retrieves a message by its unique message id.
|
int |
getNumMsgs()
Gets the number of messages in this bundle.
|
Iterator<SoyMsg> |
iterator()
Returns an iterator over all the messages.
|
static final SoyMsgBundle EMPTY
String getLocaleString()
SoyMsg getMsg(long msgId)
msgId - The message id of the message to retrieve.int getNumMsgs()