Google

GZip (Apache Ant API)

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, handleErrorOutput, 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


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