Interface FormatPart
- All Superinterfaces:
Comparable<FormatPart>
- All Known Implementing Classes:
AbstractFormatPart
,MessageFormatPart
,StringFormatPart
,StringPart
Date: 13.06.2011
-
Field Summary
Fields -
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
STRING
static final int STRINGThe default string index.- See Also:
-
-
Method Details
-
index
int index()The parameter index. For default strings (non-parameters) the value is-2
.- Returns:
- the index.
-
position
int position()The position for the part.- Returns:
- the position.
-
part
String part()The part of the format.- Returns:
- the part of the format.
-