Interface FormatPart

All Superinterfaces:
Comparable<FormatPart>
All Known Implementing Classes:
AbstractFormatPart, MessageFormatPart, StringFormatPart, StringPart

interface FormatPart extends Comparable<FormatPart>
Date: 13.06.2011
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default string index.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The parameter index.
    The part of the format.
    int
    The position for the part.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Field Details

  • 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.