See the class description about format numbering. Set a format to be used on a variable in the pattern. This is not the argument number. If variable is out of range, an ArrayIndexOutOfBoundsException is thrown. See the class description about format numbering.
Returns pattern with formatted objects.
Avoids explicit creation of MessageFormat, but doesn't allow future optimizations. Returns pattern with formatted objects. Parses the string. The parse may fail in a number of circumstances. The returned error index is the starting offset of the sub-patterns that the string is comparing with.