Class Pack200

    • Method Detail

      • newPacker

        public static 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:
        an instance of Packer
      • newUnpacker

        public static 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:
        a instance of Unpacker.