net.sf.clirr.core
Class EventMessages
java.lang.Object
java.util.ResourceBundle
net.sf.clirr.core.EventMessages
public class EventMessages
- extends java.util.ResourceBundle
ResourceBundle that implements the default locale by delegating to the english bundle.
This solves the bug described in
https://sourceforge.net/tracker/index.php?func=detail&aid=594469&group_id=29721&atid=397078
without having to duplicate any resource bundles, leading to a simpler build and a smaller jar.
- Author:
- lkuehne
Field Summary |
static java.lang.String |
RESOURCE_NAME
The base name of the resource bundle from which message descriptions
are read. |
Fields inherited from class java.util.ResourceBundle |
parent |
Constructor Summary |
EventMessages()
Deprecated. Typical user code never calls this directly but uses
ResourceBundle.getBundle(java.lang.String) or one of it's variants instead. |
Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_NAME
public static final java.lang.String RESOURCE_NAME
- The base name of the resource bundle from which message descriptions
are read.
EventMessages
public EventMessages()
- Deprecated. Typical user code never calls this directly but uses
ResourceBundle.getBundle(java.lang.String)
or one of it's variants instead.
- Constructor.
handleGetObject
protected final java.lang.Object handleGetObject(java.lang.String key)
- Specified by:
handleGetObject
in class java.util.ResourceBundle
- See Also:
ResourceBundle.handleGetObject(java.lang.String)
getKeys
public final java.util.Enumeration getKeys()
- Specified by:
getKeys
in class java.util.ResourceBundle
- See Also:
ResourceBundle.getKeys()
getLocale
public final java.util.Locale getLocale()
- Overrides:
getLocale
in class java.util.ResourceBundle
- See Also:
ResourceBundle.getLocale()
Copyright © 2003-2005 Lars Kühne. All Rights Reserved.