org.sonar.api.utils
Class LocalizedMessages
java.lang.Object
java.util.ResourceBundle
org.sonar.api.utils.LocalizedMessages
public class LocalizedMessages
- extends ResourceBundle
Methods inherited from class java.util.ResourceBundle |
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizedMessages
public LocalizedMessages(Locale locale,
String... basenames)
- Constructs a resource bundle from a list of other resource bundles. If
there are duplicate keys, the key from the resource bundle with the
smallest index takes precedence.
getLocale
public Locale getLocale()
- Overrides:
getLocale
in class ResourceBundle
format
public String format(String key,
Object... args)
formatQuietly
public String formatQuietly(String key,
Object... args)
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeys
in class ResourceBundle
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObject
in class ResourceBundle
Copyright © 2009-2010 SonarSource. All Rights Reserved.