Package org.apache.tools.ant.taskdefs
Class Sync.MyCopy
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Copy
org.apache.tools.ant.taskdefs.Sync.MyCopy
- All Implemented Interfaces:
- Cloneable
- Enclosing class:
- Sync
Subclass Copy in order to access it's file/dir maps.
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.CopycompleteDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbosityFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGet the includeEmptyDirs attribute.getToDir()Get the destination directory.protected voidCompares source files to destination files to see if they should be copied.Compares source resources to destination files to see if they should be copied.protected booleanYes, we can.Methods inherited from class org.apache.tools.ant.taskdefs.Copyadd, add, addFileset, buildMap, buildMap, createFilterChain, createFilterSet, createMapper, doFileOperations, doResourceOperations, execute, getEncoding, getFileUtils, getFilterChains, getFilterSets, getForce, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setForce, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setQuiet, setTodir, setTofile, setVerbose, validateAttributesMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
MyCopypublic MyCopy()
 
- 
- 
Method Details- 
scanDescription copied from class:CopyCompares source files to destination files to see if they should be copied.
- 
scanDescription copied from class:CopyCompares source resources to destination files to see if they should be copied.
- 
getToDirGet the destination directory.- Returns:
- the destination directory
 
- 
getIncludeEmptyDirspublic boolean getIncludeEmptyDirs()Get the includeEmptyDirs attribute.- Returns:
- true if emptyDirs are to be included
 
- 
supportsNonFileResourcesprotected boolean supportsNonFileResources()Yes, we can.- Overrides:
- supportsNonFileResourcesin class- Copy
- Returns:
- true always.
- Since:
- Ant 1.7
 
 
-