类 PackerImpl
java.lang.Object
org.glavo.pack200.impl.PackerImpl
- 所有已实现的接口:
Pack200.Packer
-
字段概要
从接口继承的字段 org.glavo.pack200.Pack200.Packer
CLASS_ATTRIBUTE_PFX, CODE_ATTRIBUTE_PFX, DEFLATE_HINT, EFFORT, ERROR, FALSE, FIELD_ATTRIBUTE_PFX, KEEP, KEEP_FILE_ORDER, LATEST, METHOD_ATTRIBUTE_PFX, MODIFICATION_TIME, PASS, PASS_FILE_PFX, PROGRESS, SEGMENT_LIMIT, STRIP, TRUE, UNKNOWN_ATTRIBUTE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidpack(JarFile in, OutputStream out) Takes a JarFile and converts into a pack-stream.voidpack(JarInputStream in, OutputStream out) Takes a JarInputStream and converts into a pack-stream.Get the set of options for the pack and unpack engines.
-
构造器详细资料
-
PackerImpl
public PackerImpl()Constructs a Packer object and sets the initial state of the packer engines.
-
-
方法详细资料
-
properties
Get the set of options for the pack and unpack engines.- 指定者:
properties在接口中Pack200.Packer- 返回:
- A sorted association of option key strings to option values.
-
pack
Takes a JarFile and converts into a pack-stream.Closes its input but not its output. (Pack200 archives are appendable.)
- 指定者:
pack在接口中Pack200.Packer- 参数:
in- a JarFileout- an OutputStream- 抛出:
IOException- if an error is encountered.
-
pack
Takes a JarInputStream and converts into a pack-stream.Closes its input but not its output. (Pack200 archives are appendable.)
The modification time and deflation hint attributes are not available, for the jar-manifest file and the directory containing the file.
- 指定者:
pack在接口中Pack200.Packer- 参数:
in- a JarInputStreamout- an OutputStream- 抛出:
IOException- if an error is encountered.- 另请参阅:
-