< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaUtilZipFileAccess.java

Print this page
rev 59204 : imported patch jarf_signature

*** 24,42 **** */ package jdk.internal.access; import java.util.Enumeration; import java.util.function.Function; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.stream.Stream; import java.util.zip.ZipFile; public interface JavaUtilZipFileAccess { public boolean startsWithLocHeader(ZipFile zip); ! public String[] getMetaInfEntryNames(JarFile zip); public int[] getMetaInfVersions(JarFile zip); public JarEntry getEntry(ZipFile zip, String name, Function<String, JarEntry> func); public Enumeration<JarEntry> entries(ZipFile zip, Function<String, JarEntry> func); public Stream<JarEntry> stream(ZipFile zip, Function<String, JarEntry> func); public Stream<String> entryNameStream(ZipFile zip); --- 24,44 ---- */ package jdk.internal.access; import java.util.Enumeration; + import java.util.List; import java.util.function.Function; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.stream.Stream; import java.util.zip.ZipFile; public interface JavaUtilZipFileAccess { public boolean startsWithLocHeader(ZipFile zip); ! public List<String> getManifestAndSignatureRelatedFiles(JarFile zip); ! public String getManifestName(JarFile zip, boolean onlyIfSignatureRelatedFiles); public int[] getMetaInfVersions(JarFile zip); public JarEntry getEntry(ZipFile zip, String name, Function<String, JarEntry> func); public Enumeration<JarEntry> entries(ZipFile zip, Function<String, JarEntry> func); public Stream<JarEntry> stream(ZipFile zip, Function<String, JarEntry> func); public Stream<String> entryNameStream(ZipFile zip);
< prev index next >