@Immutable public class BundledMessage extends Object
| Constructor and Description |
|---|
BundledMessage(Class<?> clazz,
String key,
Object... args)
Memorizes the given parameters for use by
toString(). |
BundledMessage(ResourceBundle bundle,
String key,
Object... args)
Memorizes the given parameters for use by
toString(). |
public BundledMessage(Class<?> clazz, String key, Object... args)
toString().clazz - the class to lookup the resource bundle for.key - the key to lookup in the resource bundle.args - the parameters for the string value in the resource bundle.
Note that this parameter is not copied!public BundledMessage(ResourceBundle bundle, String key, Object... args)
toString().bundle - the resource bundle.key - the key to lookup in the resource bundle.args - the parameters for the string value in the resource bundle.
Note that this parameter is not copied!Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.