home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / misc / ExtensionDependency$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  956 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. final class ExtensionDependency$1 implements PrivilegedExceptionAction {
  10.    // $FF: synthetic field
  11.    final File val$file;
  12.    // $FF: synthetic field
  13.    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.