- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/util/zip/ZipConstants.java (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/util/zip/ZipConstants.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 /* ZipConstants.java - Some constants used in the zip package2 Copyright (C) 1999, 2000Free Software Foundation, Inc.1 /* 2 Copyright (C) Free Software Foundation, Inc. 3 3 4 4 This file is part of GNU Classpath. … … 8 8 the Free Software Foundation; either version 2, or (at your option) 9 9 any later version. 10 10 11 11 GNU Classpath is distributed in the hope that it will be useful, but 12 12 WITHOUT ANY WARRANTY; without even the implied warranty of … … 38 38 package java.util.zip; 39 39 40 /**41 * Some constants used in the zip package.42 * <p>43 * Since this package local interface is completely undocumented no effort44 * is made to make it compatible with other implementations.45 * If someone is really interested you can probably come up with the right46 * constants and documentation by studying the Info-ZIP zipfile.c constants.47 */48 40 interface ZipConstants 49 41 { 50 // Size in bytes of local file header, including signature. 51 public static final int LOCAL_FILE_HEADER_SIZE = 30; 42 /* The local file header */ 43 public final static int LOCHDR = 30; 44 public final static int LOCSIG = 'P'|('K'<<8)|(3<<16)|(4<<24); 52 45 53 // Size in bytes of the "end of central directory" record, with signature. 54 public static final int END_CENTRAL_DIR_SIZE = 22; 46 public final static int LOCVER = 4; 47 public final static int LOCFLG = 6; 48 public final static int LOCHOW = 8; 49 public final static int LOCTIM = 10; 50 public final static int LOCCRC = 14; 51 public final static int LOCSIZ = 18; 52 public final static int LOCLEN = 22; 53 public final static int LOCNAM = 26; 54 public final static int LOCEXT = 28; 55 56 /* The Data descriptor */ 57 public final static int EXTSIG = 'P'|('K'<<8)|(7<<16)|(8<<24); 58 public final static int EXTHDR = 16; 59 60 public final static int EXTCRC = 4; 61 public final static int EXTSIZ = 8; 62 public final static int EXTLEN = 12; 63 64 /* The central directory file header */ 65 public final static int CENSIG = 'P'|('K'<<8)|(1<<16)|(2<<24); 66 public final static int CENHDR = 46; 67 68 public final static int CENVEM = 4; 69 public final static int CENVER = 6; 70 public final static int CENFLG = 8; 71 public final static int CENHOW = 10; 72 public final static int CENTIM = 12; 73 public final static int CENCRC = 16; 74 public final static int CENSIZ = 20; 75 public final static int CENLEN = 24; 76 public final static int CENNAM = 28; 77 public final static int CENEXT = 30; 78 public final static int CENCOM = 32; 79 public final static int CENDSK = 34; 80 public final static int CENATT = 36; 81 public final static int CENATX = 38; 82 public final static int CENOFF = 42; 83 84 /* The entries in the end of central directory */ 85 public final static int ENDSIG = 'P'|('K'<<8)|(5<<16)|(6<<24); 86 public final static int ENDHDR = 22; 87 88 /* The following two fields are missing in SUN JDK */ 89 final static int ENDNRD = 4; 90 final static int ENDDCD = 6; 91 public final static int ENDSUB = 8; 92 public final static int ENDTOT = 10; 93 public final static int ENDSIZ = 12; 94 public final static int ENDOFF = 16; 95 public final static int ENDCOM = 20; 55 96 } 97 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
