FileDocCategorySizeDatePackage
HelloResourceBundle.javaAPI DocExample507Sun Jan 07 15:37:56 GMT 2001None

HelloResourceBundle

public class HelloResourceBundle 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("Hello")) return "Hello";
      if (key.equals("Goodbye")) return "Goodbye";

      return null;