public class MyResBundle
extends java.lang.Object
implements java.io.Serializable
MyResBundle reads a *.properties file (UTF-8) with normal file readers and stores the lookup table in a TreeMap. Its getString() method returns the value for any key, or an error message if the key is not found.
getBundle gives error messages in English because we can't load the lookUpTable for any other language.Constructor and Description |
---|
MyResBundle() |