< prev index next >
src/java.base/share/classes/sun/misc/JavaUtilZipFileAccess.java
Print this page
*** 23,33 ****
--- 23,38 ----
* questions.
*/
package sun.misc;
+ import java.io.IOException;
+ import java.nio.ByteBuffer;
+ import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
public interface JavaUtilZipFileAccess {
public boolean startsWithLocHeader(ZipFile zip);
+ public ByteBuffer getByteBuffer(ZipFile zip, ZipEntry entry) throws IOException;
+ public ByteBuffer fillByteBuffer(ZipFile zip, ZipEntry entry, ByteBuffer buffer) throws IOException;
}
< prev index next >