Class BraceStyleParameter


  • public class BraceStyleParameter
    extends Parameter
    A parameter implementation to mimic the formatting of brace style placeholders (ie, "{n}").
    • Method Detail

      • of

        public static BraceStyleParameter of​(int index)
        Returns a Parameter representing a plain "brace style" placeholder "{n}". Note that a cached value may be returned.
        Parameters:
        index - the index of the argument to be processed.
        Returns:
        the immutable, thread safe parameter instance.
      • getFormat

        public String getFormat()
        Description copied from class: Parameter
        Returns the printf format string specified for this parameter (eg, "%d" or "%tc").
        Specified by:
        getFormat in class Parameter