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 / URLClassPath$2.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.2 KB  |  27 lines

  1. package sun.misc;
  2.  
  3. import java.io.IOException;
  4. import java.net.URL;
  5. import java.security.PrivilegedExceptionAction;
  6.  
  7. class URLClassPath$2 implements PrivilegedExceptionAction {
  8.    // $FF: synthetic field
  9.    private final URL val$url;
  10.    // $FF: synthetic field
  11.    private final URLClassPath this$0;
  12.  
  13.    URLClassPath$2(URLClassPath var1, URL var2) {
  14.       this.this$0 = var1;
  15.       this.val$url = var2;
  16.    }
  17.  
  18.    public Object run() throws IOException {
  19.       String var1 = this.val$url.getFile();
  20.       if (var1 != null && var1.endsWith("/")) {
  21.          return "file".equals(this.val$url.getProtocol()) ? new URLClassPath.FileLoader(this.val$url) : new URLClassPath.Loader(this.val$url);
  22.       } else {
  23.          return new URLClassPath.JarLoader(this.val$url, URLClassPath.access$100(this.this$0), URLClassPath.access$200(this.this$0));
  24.       }
  25.    }
  26. }
  27.