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 / JarEntry.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  651 b   |  33 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. public class JarEntry extends ZipEntry {
  8.    Attributes attr;
  9.    Certificate[] certs;
  10.  
  11.    public JarEntry(String var1) {
  12.       super(var1);
  13.    }
  14.  
  15.    public JarEntry(ZipEntry var1) {
  16.       super(var1);
  17.    }
  18.  
  19.    public JarEntry(JarEntry var1) {
  20.       this((ZipEntry)var1);
  21.       this.attr = var1.attr;
  22.       this.certs = var1.certs;
  23.    }
  24.  
  25.    public Attributes getAttributes() throws IOException {
  26.       return this.attr;
  27.    }
  28.  
  29.    public Certificate[] getCertificates() {
  30.       return this.certs;
  31.    }
  32. }
  33.