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 / beans / SimpleBeanInfo$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  722 b   |  34 lines

  1. package java.beans;
  2.  
  3. import java.io.IOException;
  4. import java.net.URL;
  5. import java.security.PrivilegedAction;
  6.  
  7. class SimpleBeanInfo$1 implements PrivilegedAction {
  8.    // $FF: synthetic field
  9.    private final Class val$c;
  10.    // $FF: synthetic field
  11.    private final String val$resourceName;
  12.    // $FF: synthetic field
  13.    private final SimpleBeanInfo this$0;
  14.  
  15.    SimpleBeanInfo$1(SimpleBeanInfo var1, Class var2, String var3) {
  16.       this.this$0 = var1;
  17.       this.val$c = var2;
  18.       this.val$resourceName = var3;
  19.    }
  20.  
  21.    public Object run() {
  22.       URL var1;
  23.       if ((var1 = this.val$c.getResource(this.val$resourceName)) == null) {
  24.          return null;
  25.       } else {
  26.          try {
  27.             return var1.getContent();
  28.          } catch (IOException var3) {
  29.             return null;
  30.          }
  31.       }
  32.    }
  33. }
  34.