public interface MessageBundle
Modifier and Type | Method and Description |
---|---|
Iterable<JsMessage> |
getAllMessages()
Returns an iterable over the keys that this object has replacements for.
|
JsMessage |
getMessage(String id)
Gets a message replacement.
|
JsMessage.IdGenerator |
idGenerator()
Gets the message ID generator to use to compute message IDs for this
type of bundle.
|
JsMessage.IdGenerator idGenerator()
JsMessage getMessage(String id)
id
- the id of the message being replaced; the key is message ID
generated by JsMessage.IdGenerator
Copyright © 2009-2016 Google. All Rights Reserved.