InflaterInputStream.java: New stub class.
authorPer Bothner <bothner@gcc.gnu.org>
Thu, 6 May 1999 00:15:44 +0000 (17:15 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Thu, 6 May 1999 00:15:44 +0000 (17:15 -0700)
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.

From-SVN: r26793

libjava/java/util/zip/ZipConstants.java

index 4aec92e02c4667ffd31d1675c52f66e595740a13..d5ca82d9c34a4a947b020b3a22b391587a3d84c9 100644 (file)
@@ -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;
 }