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
-
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.Copy
completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbosity
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the includeEmptyDirs attribute.getToDir()
Get the destination directory.protected void
Compares 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 boolean
Yes, we can.Methods inherited from class org.apache.tools.ant.taskdefs.Copy
add, 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, 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
-
Constructor Details
-
MyCopy
public MyCopy()
-
-
Method Details
-
scan
Description copied from class:Copy
Compares source files to destination files to see if they should be copied. -
scan
Description copied from class:Copy
Compares source resources to destination files to see if they should be copied. -
getToDir
-
getIncludeEmptyDirs
public boolean getIncludeEmptyDirs()Get the includeEmptyDirs attribute.- Returns:
- true if emptyDirs are to be included
-
supportsNonFileResources
protected boolean supportsNonFileResources()Yes, we can.- Overrides:
supportsNonFileResources
in classCopy
- Returns:
- true always.
- Since:
- Ant 1.7
-