aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/ZipConstants.java
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-05-05 17:15:44 -0700
committerPer Bothner <bothner@gcc.gnu.org>1999-05-05 17:15:44 -0700
commit0e9c6b0bf062a7627c286049abdb12b63bc2da65 (patch)
treed950a766d2aafdd4e94bc306453a8f1edd399449 /libjava/java/util/zip/ZipConstants.java
parentefd6b47e7c7259a0be1f16952e87c853fc048209 (diff)
downloadgcc-0e9c6b0bf062a7627c286049abdb12b63bc2da65.zip
gcc-0e9c6b0bf062a7627c286049abdb12b63bc2da65.tar.gz
gcc-0e9c6b0bf062a7627c286049abdb12b63bc2da65.tar.bz2
InflaterInputStream.java: New stub class.
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
Diffstat (limited to 'libjava/java/util/zip/ZipConstants.java')
-rw-r--r--libjava/java/util/zip/ZipConstants.java7
1 files changed, 6 insertions, 1 deletions
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;
}