1 /*
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
45 static final String COM_PREFIX = "com.sun.java.util.jar.pack.";
46 static final String METAINF = "META-INF";
47
48 /*
49 * Outputs various diagnostic support information.
50 * If >0, print summary comments (e.g., constant pool info).
51 * If >1, print unit comments (e.g., processing of classes).
52 * If >2, print many comments (e.g., processing of members).
53 * If >3, print tons of comments (e.g., processing of references).
54 * (installer only)
55 */
56 static final String DEBUG_VERBOSE = COM_PREFIX+"verbose";
57
58 /*
59 * Disables use of native code, prefers the Java-coded implementation.
60 * (installer only)
61 */
62 static final String DEBUG_DISABLE_NATIVE = COM_PREFIX+"disable.native";
63
64 /*
65 * Use the default working TimeZone instead of UTC.
66 * Note: This has installer unpacker implications.
67 * see: zip.cpp which uses gmtime vs. localtime.
68 */
69 static final String PACK_DEFAULT_TIMEZONE = COM_PREFIX+"default.timezone";
70
71 /*
72 * Property indicating that the unpacker should
73 * ignore the transmitted PACK_MODIFICATION_TIME,
74 * replacing it by the given value. The value can
75 * be a numeric string, representing the number of
76 * mSecs since the epoch (UTC), or the special string
77 * {@link #NOW}, meaning the current time (UTC).
78 * The default value is the special string {@link #KEEP},
79 * which asks the unpacker to preserve all transmitted
80 * modification time information.
81 * (installer only)
82 */
83 static final String UNPACK_MODIFICATION_TIME = COM_PREFIX+"unpack.modification.time";
84
85 /*
86 * Property indicating that the unpacker strip the
87 * Debug Attributes, if they are present, in the pack stream.
88 * The default value is false.
89 * (installer only)
90 */
91 static final String UNPACK_STRIP_DEBUG = COM_PREFIX+"unpack.strip.debug";
|
1 /*
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
45 static final String COM_PREFIX = "com.sun.java.util.jar.pack.";
46 static final String METAINF = "META-INF";
47
48 /*
49 * Outputs various diagnostic support information.
50 * If >0, print summary comments (e.g., constant pool info).
51 * If >1, print unit comments (e.g., processing of classes).
52 * If >2, print many comments (e.g., processing of members).
53 * If >3, print tons of comments (e.g., processing of references).
54 * (installer only)
55 */
56 static final String DEBUG_VERBOSE = COM_PREFIX+"verbose";
57
58 /*
59 * Disables use of native code, prefers the Java-coded implementation.
60 * (installer only)
61 */
62 static final String DEBUG_DISABLE_NATIVE = COM_PREFIX+"disable.native";
63
64 /*
65 * Property indicating that the unpacker should
66 * ignore the transmitted PACK_MODIFICATION_TIME,
67 * replacing it by the given value. The value can
68 * be a numeric string, representing the number of
69 * mSecs since the epoch (UTC), or the special string
70 * {@link #NOW}, meaning the current time (UTC).
71 * The default value is the special string {@link #KEEP},
72 * which asks the unpacker to preserve all transmitted
73 * modification time information.
74 * (installer only)
75 */
76 static final String UNPACK_MODIFICATION_TIME = COM_PREFIX+"unpack.modification.time";
77
78 /*
79 * Property indicating that the unpacker strip the
80 * Debug Attributes, if they are present, in the pack stream.
81 * The default value is false.
82 * (installer only)
83 */
84 static final String UNPACK_STRIP_DEBUG = COM_PREFIX+"unpack.strip.debug";
|