com.ibm.as400.access
Class SVMRI_en

java.lang.Object
  extended byjava.util.ResourceBundle
      extended byjava.util.ListResourceBundle
          extended bycom.ibm.as400.access.SVMRI_en

public class SVMRI_en
extends ListResourceBundle

An empty English MRI resource bundle.

Normally we do not need _en or _en_US bundles since the default bundle contains English. However, in the case of SVMRI, since the SystemValue classes let you specify a Locale used to load their MRI, the following scenario exists:

The default Locale of the JVM is (for example) Korean. The requested Locale passed into SystemValue is English. Java will attempt to load the English MRI bundle. If that bundle does not exist, it will attempt to load the default Locale's bundle, in this case Korean. If the Korean bundle does exist, the user will get Korean Strings instead of English, even though they requested English and English is available. So in this case, we provide an English bundle. We just provide an empty bundle, so we don't need to instantiate the base English Strings twice.

We do not need _en bundles for our other MRI because there is currently not a way for a user to override the Locale we are using to load the MRI, unless they change the default Locale of the JVM (before our ResourceBundleLoader is first touched, since it loads our MRI statically). That is, for our other MRI bundles, if the user wants English MRI, they will have to switch the JVM's default Locale to be English.


Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
SVMRI_en()
           
 
Method Summary
 Object[][] getContents()
           
 
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVMRI_en

public SVMRI_en()
Method Detail

getContents

public Object[][] getContents()