org.jdesktop.deployment.ant.pack200
Class Unpack200Task

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Copy
              extended by org.jdesktop.deployment.ant.pack200.Unpack200Task
All Implemented Interfaces:
Cloneable

public class Unpack200Task
extends org.apache.tools.ant.taskdefs.Copy

Ant Task performing the unpack200 operation on a single file or on a fileset.

Version:
$Revision: 14720 $, $Date: 2011-09-15 17:17:42 +0200 (Thu, 15 Sep 2011) $
Author:
Kumar Srinivasan, Emmanuel Bourg

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Copy
completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbosity
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Unpack200Task()
           
 
Method Summary
protected  void doFileOperations()
           
 void execute()
           
 void setDest(File dest)
          Deprecated. use setTofile() or setTodir() instead
 void setSrc(File src)
          Deprecated. use setFile() instead
 
Methods inherited from class org.apache.tools.ant.taskdefs.Copy
add, add, addFileset, buildMap, buildMap, createFilterChain, createFilterSet, createMapper, doResourceOperations, getEncoding, getFileUtils, getFilterChains, getFilterSets, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, scan, scan, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setTodir, setTofile, setVerbose, supportsNonFileResources, validateAttributes
 
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

Unpack200Task

public Unpack200Task()
Method Detail

setSrc

public void setSrc(File src)
Deprecated. use setFile() instead

The file to unpack.

Parameters:
src - file to unpack

setDest

public void setDest(File dest)
Deprecated. use setTofile() or setTodir() instead

The destination file or directory.

Parameters:
dest - destination file or directory

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.taskdefs.Copy

doFileOperations

protected void doFileOperations()
Overrides:
doFileOperations in class org.apache.tools.ant.taskdefs.Copy


Copyright © 2005-2012 Codehaus. All Rights Reserved.