| java.util.jar.Pack200.Unpacker |
The interface defining the API for converting a packed stream in the Pack200 format to a JAR file.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DEFLATE_HINT |
The String indicating if the unpacker should ignore all transmitted
values,can be replaced by either
true
or
false
.
|
|||||||||
| String | FALSE |
a String representation of
false
.
|
|||||||||
| String | KEEP |
a String representation of
keep
.
|
|||||||||
| String | PROGRESS |
the progress as a
percentage
.
|
|||||||||
| String | TRUE |
a String representation of
true
.
|
|||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
add a listener for
PropertyChange
events.
|
||||||||||
|
|
Returns a sorted map of the properties of this unpacker.
|
||||||||||
|
|
remove a listener.
|
||||||||||
|
|
Unpack the specified stream to the specified JAR output stream.
|
||||||||||
|
|
Unpack the contents of the specified
File
to the specified
JAR output stream.
|
||||||||||
The String indicating if the unpacker should ignore all transmitted
values,can be replaced by either
true
or
false
.
a String representation of
false
.
a String representation of
keep
.
the progress as a
percentage
.
a String representation of
true
.
add a listener for
PropertyChange
events.
| listener |
the listener to listen if
PropertyChange
events
occurs.
|
|---|
Returns a sorted map of the properties of this unpacker.
remove a listener.
| listener | listener to remove. |
|---|
Unpack the specified stream to the specified JAR output stream.
| in | stream to uncompressed. |
|---|---|
| out | JAR output stream of uncompressed data. |
| IOException | if I/O exception occurs. |
|---|
Unpack the contents of the specified
File
to the specified
JAR output stream.
| in | file to be uncompressed. |
|---|---|
| out | JAR output stream of uncompressed data. |
| IOException | if I/O exception occurs. |
|---|