org.apache.ant.compress.taskdefs

## Class Pack200

- java.lang.Object
- - org.apache.tools.ant.ProjectComponent
  - - org.apache.tools.ant.Task
    - - org.apache.ant.compress.taskdefs.PackBase
      - - org.apache.ant.compress.taskdefs.Pack200

- All Implemented Interfaces:
    java.lang.Cloneable

      public final class Pack200
      extends PackBase

  Compresses using pack200.
  Since:
    Apache Compress Antlib 1.1

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Pack200.Pack200StrategyEnum` Pack200Strategy to use: cache in memory or use a temporary file.

    - ### Nested classes/interfaces inherited from class org.apache.ant.compress.taskdefs.PackBase

      `PackBase.ResourceWrapper`

  - ### Field Summary

    - ### Fields inherited from class org.apache.tools.ant.Task

      `target, taskName, taskType`

    - ### Fields inherited from class org.apache.tools.ant.ProjectComponent

      `description, location, project`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Pack200()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addConfiguredProperty(org.apache.tools.ant.types.Environment.Variable prop)` Sets a property for the Pack200 packer.
    `void` | `setPack200Strategy(Pack200.Pack200StrategyEnum s)` Whether to cache archive data in memory (the default) or a temporary file.

    - ### Methods inherited from class org.apache.ant.compress.taskdefs.PackBase

      `add, add, addConfigured, addConfiguredDest, execute, getSrc, setDest, setDestfile, setFactory, setSrc, setSrcfile`

    - ### Methods inherited from class org.apache.tools.ant.Task

      `bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType`

    - ### Methods inherited from class org.apache.tools.ant.ProjectComponent

      `clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Pack200

          public Pack200()

  - ### Method Detail

    - #### setPack200Strategy

          public void setPack200Strategy(Pack200.Pack200StrategyEnum s)

      Whether to cache archive data in memory (the default) or a temporary file.

    - #### addConfiguredProperty

          public void addConfiguredProperty(org.apache.tools.ant.types.Environment.Variable prop)

      Sets a property for the Pack200 packer.