01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package java.util.zip;
19:
20: interface ZipConstants {
21:
22: public static final long LOCSIG = 0x4034b50, EXTSIG = 0x8074b50,
23: CENSIG = 0x2014b50, ENDSIG = 0x6054b50;
24:
25: public static final int LOCHDR = 30, EXTHDR = 16, CENHDR = 46,
26: ENDHDR = 22, LOCVER = 4, LOCFLG = 6, LOCHOW = 8,
27: LOCTIM = 10, LOCCRC = 14, LOCSIZ = 18, LOCLEN = 22,
28: LOCNAM = 26, LOCEXT = 28, EXTCRC = 4, EXTSIZ = 8,
29: EXTLEN = 12, CENVEM = 4, CENVER = 6, CENFLG = 8,
30: CENHOW = 10, CENTIM = 12, CENCRC = 16, CENSIZ = 20,
31: CENLEN = 24, CENNAM = 28, CENEXT = 30, CENCOM = 32,
32: CENDSK = 34, CENATT = 36, CENATX = 38, CENOFF = 42,
33: ENDSUB = 8, ENDTOT = 10, ENDSIZ = 12, ENDOFF = 16,
34: ENDCOM = 20;
35: }
|