com.google.gwt.i18n.rebind
Class MessageFormatParser.ArgumentChunk
java.lang.Object
com.google.gwt.i18n.rebind.MessageFormatParser.TemplateChunk
com.google.gwt.i18n.rebind.MessageFormatParser.ArgumentChunk
- Enclosing class:
- MessageFormatParser
public static class MessageFormatParser.ArgumentChunk
- extends MessageFormatParser.TemplateChunk
Represents an argument in a template string.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageFormatParser.ArgumentChunk
public MessageFormatParser.ArgumentChunk(int argNumber,
java.lang.String format,
java.lang.String subformat)
getArgumentNumber
public int getArgumentNumber()
getFormat
public java.lang.String getFormat()
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.
getSubFormat
public java.lang.String getSubFormat()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object