org.apache.clerezza.triaxrs.util
Class MessageBundle
java.lang.Object
org.apache.clerezza.triaxrs.util.MessageBundle
public class MessageBundle
- extends Object
Loads and holds a ResourceBundle according to the specified parameters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageBundle
public MessageBundle(String packageName,
String resourceName,
Locale locale,
ClassLoader classLoader)
throws MissingResourceException
- Throws:
MissingResourceException
getMessage
public String getMessage(String key)
throws MissingResourceException
- Gets a string message from the resource bundle for the given key
- Parameters:
key - The resource key
- Returns:
- The message
- Throws:
MissingResourceException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.