java.lang.Object | |
↳ | com.sun.java.util.jar.pack.PackerImpl |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.util.jar.Pack200.Packer
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a Packer object and sets the initial state of
the packer engines.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Register a listener for changes to options.
| |||||||||||
Takes a JarFile and converts into a pack-stream.
| |||||||||||
Takes a JarInputStream and converts into a pack-stream.
| |||||||||||
Get the set of options for the pack and unpack engines.
| |||||||||||
Remove a listener for the PropertyChange event.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.jar.Pack200.Packer
|
Constructs a Packer object and sets the initial state of the packer engines.
Register a listener for changes to options.
listener | An object to be invoked when a property is changed. |
---|
Takes a JarFile and converts into a pack-stream.
Closes its input but not its output. (Pack200 archives are appendable.)
in | a JarFile |
---|---|
out | an OutputStream |
IOException | if an error is encountered. |
---|
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.
in | a JarInputStream |
---|---|
out | an OutputStream |
IOException | if an error is encountered. |
---|
MODIFICATION_TIME
Get the set of options for the pack and unpack engines.
Remove a listener for the PropertyChange event.
listener | The PropertyChange listener to be removed. |
---|