XMT-O Reference Software

xmto2xmta.resources
Class UseRes

java.lang.Object
  |
  +--java.util.ResourceBundle
        |
        +--java.util.ListResourceBundle
              |
              +--xmto2xmta.resources.UseRes

public class UseRes
extends java.util.ListResourceBundle

This is the default language resources. The language is English (United States).

There is a good explanation on the National Language Support (NLS) in the book "Core Java Volume II - Advanced Features". The chapter is Internationalization.

The resources are listed on two lines so that it is easier to compare the various language resource files to see what strings are missing.

The resources that use parameters (like filenames or numbers) are formated into MessageFormat (java.text.MessageFormat). To put a single quote (') in such a resources, you have to put it twice (''). For the others resources, you just have to put it once.

History:


Field Summary
(package private) static java.lang.Object[][] contents
          These are the strings which should get translated.
static java.lang.String MSG_ERROR_HREF_ATTRIBUTE_MISSING
           
static java.lang.String MSG_ERROR_HREF_FILE_NOT_SUPPORTED
          All these keys are public since this will keep accessing the string standardized and lead to less problems.
static java.lang.String MSG_ERROR_HREF_ID_NOT_FOUND
           
static java.lang.String MSG_WARMING_NO_MAPPING_FOR_DEFS_OBJECT
           
static java.lang.String MSG_WARNING_TIMING_ATTRIBUTE_NOT_SUPPORTED
           
 
Fields inherited from class java.util.ListResourceBundle
lookup
 
Fields inherited from class java.util.ResourceBundle
CACHE_LOAD_FACTOR, cacheKey, cacheList, DEFAULT_NOT_FOUND, INITIAL_CACHE_SIZE, locale, MAX_BUNDLES_SEARCHED, parent, underConstruction
 
Constructor Summary
UseRes()
           
 
Method Summary
 java.lang.Object[][] getContents()
           
 
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject, loadLookup
 
Methods inherited from class java.util.ResourceBundle
, calculateBundleNames, cleanUpConstructionList, findBundle, findBundleInCache, getBundle, getBundle, getBundle, getBundleImpl, getClassContext, getLoader, getLocale, getObject, getString, getStringArray, loadBundle, propagate, putBundleInCache, setLocale, setParent, throwMissingResourceException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

MSG_ERROR_HREF_FILE_NOT_SUPPORTED

public static final java.lang.String MSG_ERROR_HREF_FILE_NOT_SUPPORTED
All these keys are public since this will keep accessing the string standardized and lead to less problems.

MSG_ERROR_HREF_ID_NOT_FOUND

public static final java.lang.String MSG_ERROR_HREF_ID_NOT_FOUND

MSG_ERROR_HREF_ATTRIBUTE_MISSING

public static final java.lang.String MSG_ERROR_HREF_ATTRIBUTE_MISSING

MSG_WARNING_TIMING_ATTRIBUTE_NOT_SUPPORTED

public static final java.lang.String MSG_WARNING_TIMING_ATTRIBUTE_NOT_SUPPORTED

MSG_WARMING_NO_MAPPING_FOR_DEFS_OBJECT

public static final java.lang.String MSG_WARMING_NO_MAPPING_FOR_DEFS_OBJECT

contents

static final java.lang.Object[][] contents
These are the strings which should get translated. The first line is the KEY and the second line is the string to be translated. These could be on the same line but having them on separate lines will make it easier to compare the various language files to see which items have not been translated and which lines are missing from the default language file English.
Constructor Detail

UseRes

public UseRes()
Method Detail

getContents

public java.lang.Object[][] getContents()
Overrides:
getContents in class java.util.ListResourceBundle

XMT-O Reference Software