com.google.gwt.i18n.rebind
Class MessageFormatParser.StringChunk
java.lang.Object
com.google.gwt.i18n.rebind.MessageFormatParser.TemplateChunk
com.google.gwt.i18n.rebind.MessageFormatParser.StringChunk
- Enclosing class:
- MessageFormatParser
public static class MessageFormatParser.StringChunk
- extends MessageFormatParser.TemplateChunk
Represents a literal string portion of a template string.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageFormatParser.StringChunk
public MessageFormatParser.StringChunk()
MessageFormatParser.StringChunk
public MessageFormatParser.StringChunk(java.lang.String str)
append
public void append(java.lang.String str)
getString
public java.lang.String getString()
- Overrides:
getString in class MessageFormatParser.TemplateChunk
- Returns:
- the string as this chunk would be represented in a MessageFormat
template. Note that this is distinct from toString in that the latter
is intend for human consumption.
isLiteral
public boolean isLiteral()
- Overrides:
isLiteral in class MessageFormatParser.TemplateChunk
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object