completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbosity
description, 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, validateAttributes
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
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.Copy.scan(File, File, String[], String[])
protected java.util.Map<Resource,java.lang.String[]> scan(Resource[] resources, java.io.File toDir)
Copy
scan
in class Copy
resources
- 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