类 UnpackerImpl
java.lang.Object
org.glavo.pack200.impl.UnpackerImpl
- 所有已实现的接口:
Pack200.Unpacker
-
字段概要
从接口继承的字段 org.glavo.pack200.Pack200.Unpacker
DEFLATE_HINT, FALSE, KEEP, PROGRESS, TRUE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get the set of options for the pack and unpack engines.toString()voidunpack(File in, JarOutputStream out) Takes an input File containing the pack file, and generates a JarOutputStream.voidunpack(InputStream in, JarOutputStream out) Takes a packed-stream InputStream, and writes to a JarOutputStream.
-
构造器详细资料
-
UnpackerImpl
public UnpackerImpl()
-
-
方法详细资料
-
properties
Get the set of options for the pack and unpack engines.- 指定者:
properties在接口中Pack200.Unpacker- 返回:
- A sorted association of option key strings to option values.
-
toString
-
unpack
Takes a packed-stream InputStream, and writes to a JarOutputStream. Internally the entire buffer must be read, it may be more efficient to read the packed-stream to a file and pass the File object, in the alternate method described below.Closes its input but not its output. (The output can accumulate more elements.)
- 指定者:
unpack在接口中Pack200.Unpacker- 参数:
in- an InputStream.out- a JarOutputStream.- 抛出:
IOException- if an error is encountered.
-
unpack
Takes an input File containing the pack file, and generates a JarOutputStream.Does not close its output. (The output can accumulate more elements.)
- 指定者:
unpack在接口中Pack200.Unpacker- 参数:
in- a File.out- a JarOutputStream.- 抛出:
IOException- if an error is encountered.
-