completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbositydescription, 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, validateAttributesbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectprotected void scan(java.io.File fromDir,
java.io.File toDir,
java.lang.String[] files,
java.lang.String[] dirs)
Copyscan in class CopyfromDir - 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)
Copyscan in class Copyresources - The source resources.toDir - The destination directory.{@inheritDoc}public java.io.File getToDir()
public boolean getIncludeEmptyDirs()
protected boolean supportsNonFileResources()
supportsNonFileResources in class Copy