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. Format Formats an object to produce a string. These general routines allow polymorphic parsing and formatting for objects such as the MessageFormat. Parses the string. The parse may fail in a number of circumstances.