completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbosity
description, location, project
Constructor and Description |
---|
MyCopy()
Constructor for MyCopy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getIncludeEmptyDirs()
Get the includeEmptyDirs attribute.
|
java.io.File |
getToDir()
Get the destination directory.
|
protected void |
scan(java.io.File fromDir,
java.io.File toDir,
java.lang.String[] files,
java.lang.String[] dirs)
Compares source files to destination files to see if they should be
copied.
|
protected java.util.Map |
scan(Resource[] resources,
java.io.File toDir)
Compares source resources to destination files to see if they
should be copied.
|
protected boolean |
supportsNonFileResources()
Yes, we can.
|
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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
protected void scan(java.io.File fromDir, java.io.File toDir, java.lang.String[] files, java.lang.String[] dirs)
Copy
scan
in class Copy
fromDir
- The source directory.toDir
- The destination directory.files
- A list of files to copy.dirs
- A list of directories to copy.{@inheritDoc}
protected java.util.Map scan(Resource[] resources, java.io.File toDir)
Copy
scan
in class Copy
resources
- The source resources.toDir
- The destination directory.{@inheritDoc}
public java.io.File getToDir()
public boolean getIncludeEmptyDirs()
protected boolean supportsNonFileResources()
supportsNonFileResources
in class Copy