From 11961ade89b0729498ad69aa5694666a39766fb0 Mon Sep 17 00:00:00 2001 From: bothner Date: Thu, 6 May 1999 00:15:44 +0000 Subject: [PATCH] e * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26793 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/util/zip/ZipConstants.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libjava/java/util/zip/ZipConstants.java b/libjava/java/util/zip/ZipConstants.java index 4aec92e..d5ca82d 100644 --- a/libjava/java/util/zip/ZipConstants.java +++ b/libjava/java/util/zip/ZipConstants.java @@ -8,6 +8,11 @@ details. */ package java.util.zip; -public interface ZipConstants +interface ZipConstants { + // Size in bytes of local file header, including signature. + public static final int LOCAL_FILE_HEADER_SIZE = 30; + + // Size in bytes of the "end of central directory" record, with signature. + public static final int END_CENTRAL_DIR_SIZE = 22; } -- 2.7.4