public static interface Pack200.Unpacker
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFLATE_HINT
The String indicating if the unpacker should ignore all transmitted
values,can be replaced by either
true or false . |
static java.lang.String |
FALSE
a String representation of
false . |
static java.lang.String |
KEEP
a String representation of
keep . |
static java.lang.String |
PROGRESS
the progress as a
percentage . |
static java.lang.String |
TRUE
a String representation of
true . |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
add a listener for
PropertyChange events. |
java.util.SortedMap<java.lang.String,java.lang.String> |
properties()
Returns a sorted map of the properties of this unpacker.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
remove a listener.
|
void |
unpack(java.io.File in,
java.util.jar.JarOutputStream out)
Unpack the contents of the specified
File to the specified
JAR output stream. |
void |
unpack(java.io.InputStream in,
java.util.jar.JarOutputStream out)
Unpack the specified stream to the specified JAR output stream.
|
static final java.lang.String DEFLATE_HINT
true
or false
.static final java.lang.String FALSE
false
.static final java.lang.String KEEP
keep
.static final java.lang.String PROGRESS
percentage
.static final java.lang.String TRUE
true
.void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChange
events.listener
- the listener to listen if PropertyChange
events
occurs.java.util.SortedMap<java.lang.String,java.lang.String> properties()
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- listener to remove.void unpack(java.io.File in, java.util.jar.JarOutputStream out) throws java.io.IOException
File
to the specified
JAR output stream.in
- file to be uncompressed.out
- JAR output stream of uncompressed data.java.io.IOException
- if I/O exception occurs.void unpack(java.io.InputStream in, java.util.jar.JarOutputStream out) throws java.io.IOException
in
- stream to uncompressed.out
- JAR output stream of uncompressed data.java.io.IOException
- if I/O exception occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved