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

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()
          perform the GZip compression operation.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Pack
execute, setDestfile, setSrc, setZipfile, zipFile
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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()
perform the GZip compression operation.

Specified by:
pack in class Pack


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