home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / misc / ExtensionDependency$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  825 b   |  29 lines

  1. package sun.misc;
  2.  
  3. import java.io.File;
  4. import java.io.FileNotFoundException;
  5. import java.io.IOException;
  6. import java.security.PrivilegedExceptionAction;
  7. import java.util.jar.JarFile;
  8.  
  9. class ExtensionDependency$1 implements PrivilegedExceptionAction {
  10.    // $FF: synthetic field
  11.    private final File val$file;
  12.    // $FF: synthetic field
  13.    private final ExtensionDependency this$0;
  14.  
  15.    ExtensionDependency$1(ExtensionDependency var1, File var2) {
  16.       this.this$0 = var1;
  17.       this.val$file = var2;
  18.    }
  19.  
  20.    public Object run() throws IOException, FileNotFoundException {
  21.       if (!this.val$file.exists()) {
  22.          throw new FileNotFoundException(this.val$file.getName());
  23.       } else {
  24.          JarFile var1 = new JarFile(this.val$file);
  25.          return var1.getManifest();
  26.       }
  27.    }
  28. }
  29.