equal
deleted
inserted
replaced
28 import java.io.InputStream; |
28 import java.io.InputStream; |
29 import java.io.OutputStream; |
29 import java.io.OutputStream; |
30 import java.io.File; |
30 import java.io.File; |
31 import java.io.IOException; |
31 import java.io.IOException; |
32 import java.beans.PropertyChangeListener; |
32 import java.beans.PropertyChangeListener; |
33 import java.beans.PropertyChangeEvent; |
|
34 import java.security.AccessController; |
|
35 import java.security.PrivilegedAction; |
|
36 |
33 |
37 |
34 |
38 |
35 |
39 |
36 |
40 /** |
37 /** |
223 * class files, a 1.5 compatible pack file is produced. This will also be |
220 * class files, a 1.5 compatible pack file is produced. This will also be |
224 * the case for archives that have no class files. |
221 * the case for archives that have no class files. |
225 * If the input JAR-files contains a 1.6 class file, then the pack file |
222 * If the input JAR-files contains a 1.6 class file, then the pack file |
226 * version will be set to 1.6. |
223 * version will be set to 1.6. |
227 * <p> |
224 * <p> |
|
225 * Note: Unless otherwise noted, passing a <tt>null</tt> argument to a |
|
226 * constructor or method in this class will cause a {@link NullPointerException} |
|
227 * to be thrown. |
|
228 * <p> |
228 * @since 1.5 |
229 * @since 1.5 |
229 */ |
230 */ |
230 public interface Packer { |
231 public interface Packer { |
231 /** |
232 /** |
232 * This property is a numeral giving the estimated target size N |
233 * This property is a numeral giving the estimated target size N |
596 * using {@link #newUnpacker}. |
597 * using {@link #newUnpacker}. |
597 * <p> |
598 * <p> |
598 * Every JAR file produced by this engine will include the string |
599 * Every JAR file produced by this engine will include the string |
599 * "<tt>PACK200</tt>" as a zip file comment. |
600 * "<tt>PACK200</tt>" as a zip file comment. |
600 * This allows a deployer to detect if a JAR archive was packed and unpacked. |
601 * This allows a deployer to detect if a JAR archive was packed and unpacked. |
|
602 * <p> |
|
603 * Note: Unless otherwise noted, passing a <tt>null</tt> argument to a |
|
604 * constructor or method in this class will cause a {@link NullPointerException} |
|
605 * to be thrown. |
601 * <p> |
606 * <p> |
602 * This version of the unpacker is compatible with all previous versions. |
607 * This version of the unpacker is compatible with all previous versions. |
603 * @since 1.5 |
608 * @since 1.5 |
604 */ |
609 */ |
605 public interface Unpacker { |
610 public interface Unpacker { |