public class MessageFormat extends Object
MessageFormat that takes an arbitrary number of parameters.
This is to avoid a pitfall in the original MessageFormat: if you call Format.format(Object)
you'd assume that the parameter is a single argument. Instead, it has to be an Object[] like
in the old times. This is unintuitive, as MessageFormat.format(String, Object...)
works in the modern way.MessageFormat| Constructor and Description |
|---|
MessageFormat(String pattern) |
Copyright © 2002–2020 CoreMedia AG. All rights reserved.