home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / util / PropertyResourceBundle.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1010 b   |  36 lines

  1. package java.util;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5.  
  6. public class PropertyResourceBundle extends ResourceBundle {
  7.    private Properties lookup = new Properties();
  8.  
  9.    public PropertyResourceBundle(InputStream var1) throws IOException {
  10.       this.lookup.load(var1);
  11.    }
  12.  
  13.    public Object handleGetObject(String var1) {
  14.       Object var2 = this.lookup.get(var1);
  15.       return var2;
  16.    }
  17.  
  18.    public Enumeration getKeys() {
  19.       Object var1 = null;
  20.       if (super.parent != null) {
  21.          Enumeration var2 = this.lookup.keys();
  22.          Enumeration var3 = super.parent.getKeys();
  23.          var1 = new 1(this, var2, var3);
  24.       } else {
  25.          var1 = this.lookup.keys();
  26.       }
  27.  
  28.       return (Enumeration)var1;
  29.    }
  30.  
  31.    // $FF: synthetic method
  32.    static Properties access$000(PropertyResourceBundle var0) {
  33.       return var0.lookup;
  34.    }
  35. }
  36.