< prev index next >

src/java.base/share/classes/jdk/internal/misc/JavaUtilJarAccess.java

Print this page




  24  */
  25 
  26 package jdk.internal.misc;
  27 
  28 import java.io.IOException;
  29 import java.net.URL;
  30 import java.security.CodeSource;
  31 import java.util.Enumeration;
  32 import java.util.List;
  33 import java.util.jar.JarEntry;
  34 import java.util.jar.JarFile;
  35 
  36 public interface JavaUtilJarAccess {
  37     public boolean jarFileHasClassPathAttribute(JarFile jar) throws IOException;
  38     public CodeSource[] getCodeSources(JarFile jar, URL url);
  39     public CodeSource getCodeSource(JarFile jar, URL url, String name);
  40     public Enumeration<String> entryNames(JarFile jar, CodeSource[] cs);
  41     public Enumeration<JarEntry> entries2(JarFile jar);
  42     public void setEagerValidation(JarFile jar, boolean eager);
  43     public List<Object> getManifestDigests(JarFile jar);
  44     public String getRealName(JarFile jar, JarEntry entry);
  45 }


  24  */
  25 
  26 package jdk.internal.misc;
  27 
  28 import java.io.IOException;
  29 import java.net.URL;
  30 import java.security.CodeSource;
  31 import java.util.Enumeration;
  32 import java.util.List;
  33 import java.util.jar.JarEntry;
  34 import java.util.jar.JarFile;
  35 
  36 public interface JavaUtilJarAccess {
  37     public boolean jarFileHasClassPathAttribute(JarFile jar) throws IOException;
  38     public CodeSource[] getCodeSources(JarFile jar, URL url);
  39     public CodeSource getCodeSource(JarFile jar, URL url, String name);
  40     public Enumeration<String> entryNames(JarFile jar, CodeSource[] cs);
  41     public Enumeration<JarEntry> entries2(JarFile jar);
  42     public void setEagerValidation(JarFile jar, boolean eager);
  43     public List<Object> getManifestDigests(JarFile jar);

  44 }
< prev index next >