completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbositydescription, location, project| Constructor | Description |
|---|---|
MyCopy() |
| Modifier and Type | Method | 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<Resource,java.lang.String[]> |
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, validateAttributesequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected 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.Copy.scan(File, File, String[], String[])protected java.util.Map<Resource,java.lang.String[]> scan(Resource[] resources, java.io.File toDir)
Copyscan in class Copyresources - The source resources.toDir - The destination directory.Copy.scan(Resource[], File)public java.io.File getToDir()
public boolean getIncludeEmptyDirs()
protected boolean supportsNonFileResources()
supportsNonFileResources in class Copy