FileDocCategorySizeDatePackage
SimpleResourceBundle.javaAPI DocExample514Sun Jan 07 15:32:26 GMT 2001None

SimpleResourceBundle

public class SimpleResourceBundle extends ResourceBundle

Fields Summary
private String
keys
Constructors Summary
Methods Summary
public java.util.EnumerationgetKeys()

    StringTokenizer keyTokenizer = new StringTokenizer(keys);

    return keyTokenizer;
  
public java.lang.ObjecthandleGetObject(java.lang.String key)


      
    if (key.equals("AMMessage")) return "Good morning";
    if (key.equals("PMMessage")) return "Good evening";

    return null;