GZip (Apache Ant API)
Keywords: org.apache.tools.ant.taskdefs.GZip class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.taskdefs
Class GZip

    java.lang.Object
      org.apache.tools.ant.ProjectComponent
          org.apache.tools.ant.Task
              org.apache.tools.ant.taskdefs.Pack
                  org.apache.tools.ant.taskdefs.GZip

public class GZip
extends Pack

Compresses a file with the GZIP algorithm. Normally used to compress non-compressed archives such as TAR files.

Since:
  Ant 1.1
Author:
  James Davidson duncan@x180.com, Jon S. Stevens jon@clearink.com, Magesh Umasankar

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.Pack
`source, zipFile`

Fields inherited from class org.apache.tools.ant.Task
`description, location, target, taskName, taskType, wrapper`

Fields inherited from class org.apache.tools.ant.ProjectComponent
`project`

Constructor Summary
`GZip()`

Method Summary
`protected void` | `pack()` subclasses must implement this method to do their compression

Methods inherited from class org.apache.tools.ant.taskdefs.Pack
`execute, setSrc, setZipfile, zipFile`

Methods inherited from class org.apache.tools.ant.Task
`getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName`

Methods inherited from class org.apache.tools.ant.ProjectComponent
`getProject, setProject`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GZip

    public GZip()

Method Detail

### pack

    protected void pack()

  Description copied from class: `Pack`
  subclasses must implement this method to do their compression

  Specified by:
    `pack` in class `Pack`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.