1 23 24 package com.sun.enterprise.deployment.deploy.shared; 25 26 import java.util.Enumeration ; 27 import java.io.InputStream ; 28 import java.io.OutputStream ; 29 import java.io.IOException ; 30 import java.net.URI ; 31 import java.util.jar.Manifest ; 32 33 34 39 public interface Archive { 40 41 44 public void close() throws IOException ; 45 46 53 public Enumeration entries(); 54 55 64 public Enumeration entries(String prefix); 65 66 74 public InputStream getEntry(String name) throws IOException ; 75 76 84 public Archive getSubArchive(String name) throws IOException ; 85 86 90 public Manifest getManifest() throws IOException ; 91 92 109 public URI getURI(); 110 111 115 public long getArchiveSize() throws NullPointerException , SecurityException ; 116 } 117 | Popular Tags |