Skip to content

Most visited

Recently visited

navigation
Added in API level 1

Pack200

public abstract class Pack200
extends Object

java.lang.Object
   ↳ java.util.jar.Pack200


Class factory for Pack200.Packer and Pack200.Unpacker.

Summary

Nested classes

interface Pack200.Packer

The interface defining the API for converting a JAR file to an output stream in the Pack200 format. 

interface Pack200.Unpacker

The interface defining the API for converting a packed stream in the Pack200 format to a JAR file. 

Public methods

static Pack200.Packer newPacker()

Returns a new instance of a packer engine.

static Pack200.Unpacker newUnpacker()

Returns a new instance of a unpacker engine.

Inherited methods

From class java.lang.Object

Public methods

newPacker

Added in API level 1
Pack200.Packer newPacker ()

Returns a new instance of a packer engine.

The implementation of the packer engine is defined by the system property 'java.util.jar.Pack200.Packer'. If this system property is defined an instance of the specified class is returned, otherwise the system's default implementation is returned.

Returns
Pack200.Packer an instance of Packer

newUnpacker

Added in API level 1
Pack200.Unpacker newUnpacker ()

Returns a new instance of a unpacker engine.

The implementation of the unpacker engine is defined by the system property 'java.util.jar.Pack200.Unpacker'. If this system property is defined an instance of the specified class is returned, otherwise the system's default implementation is returned.

Returns
Pack200.Unpacker a instance of Unpacker.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.