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

  1. package java.util.jar;
  2.  
  3. import java.io.IOException;
  4. import java.security.cert.Certificate;
  5. import java.util.zip.ZipEntry;
  6.  
  7. class JarFile$JarFileEntry extends JarEntry {
  8.    // $FF: synthetic field
  9.    private final JarFile this$0;
  10.  
  11.    JarFile$JarFileEntry(JarFile var1, ZipEntry var2) {
  12.       super(var2);
  13.       this.this$0 = var1;
  14.    }
  15.  
  16.    public Attributes getAttributes() throws IOException {
  17.       Manifest var1 = this.this$0.getManifest();
  18.       return var1 != null ? var1.getAttributes(((ZipEntry)this).getName()) : null;
  19.    }
  20.  
  21.    public Certificate[] getCertificates() {
  22.       if (super.certs == null && JarFile.access$000(this.this$0) != null) {
  23.          Certificate[] var1 = JarFile.access$000(this.this$0).getCerts(((ZipEntry)this).getName());
  24.          if (var1 != null) {
  25.             super.certs = (Certificate[])var1.clone();
  26.          }
  27.       }
  28.  
  29.       return super.certs;
  30.    }
  31. }
  32.