net.sf.clirr.core
Class EventMessages

java.lang.Object
  extended by java.util.ResourceBundle
      extended by 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.
 
Method Summary
 java.util.Enumeration getKeys()
           
 java.util.Locale getLocale()
           
protected  java.lang.Object handleGetObject(java.lang.String key)
           
 
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
 

Field Detail

RESOURCE_NAME

public static final java.lang.String RESOURCE_NAME
The base name of the resource bundle from which message descriptions are read.

Constructor Detail

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.

Method Detail

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.