class MessageFormatPart extends AbstractFormatPart
MessageFormat
.
**Note: Currently the format type and format style are not validated
Date: 14.06.2011Modifier and Type | Field and Description |
---|---|
private java.lang.String |
formatStyle |
private java.lang.String |
formatType |
private int |
index |
private java.lang.String |
originalFormat |
private int |
position |
STRING
Modifier | Constructor and Description |
---|---|
private |
MessageFormatPart(int position,
java.lang.String format) |
Modifier and Type | Method and Description |
---|---|
int |
index() |
private void |
init(java.lang.String formatText) |
static MessageFormatPart |
of(int position,
java.lang.String format) |
java.lang.String |
part() |
int |
position() |
compareTo, toString
private final java.lang.String originalFormat
private final int position
private int index
private java.lang.String formatType
private java.lang.String formatStyle
private MessageFormatPart(int position, java.lang.String format)
public static MessageFormatPart of(int position, java.lang.String format)
public int index()
public int position()
public java.lang.String part()
private void init(java.lang.String formatText)