Package net.jangaroo.jooc.util
Class MessageFormat
- java.lang.Object
-
- net.jangaroo.jooc.util.MessageFormat
-
public class MessageFormat extends Object
A betterMessageFormatthat takes an arbitrary number of parameters. This is to avoid a pitfall in the original MessageFormat: if you callFormat.format(Object)you'd assume that the parameter is a single argument. Instead, it has to be anObject[]like in the old times. This is unintuitive, asMessageFormat.format(String, Object...)works in the modern way.- See Also:
MessageFormat
-
-
Constructor Summary
Constructors Constructor Description MessageFormat(String pattern)
-