Class SVMRI_en

  • java.lang.Object
    • java.util.ResourceBundle
      • java.util.ListResourceBundle

  • public class SVMRI_en
    extends java.util.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.

  • >
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.ResourceBundle

    • Field Summary

      • Fields inherited from class java.util.ResourceBundle

    • Constructor Summary

      Constructor and Description
    • Method Summary

      Modifier and Type Method and Description
      java.lang.Object[][] getContents() 
      • Methods inherited from class java.util.ListResourceBundle

        getKeys, handleGetObject, handleKeySet
      • Methods inherited from class java.util.ResourceBundle

        clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, 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 java.lang.Object[][] getContents()
        Specified by:
        getContents in class java.util.ListResourceBundle