|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Copy
org.objectweb.util.ant.MultipleCopy
public class MultipleCopy
Field Summary | |
---|---|
protected File |
basedir
|
protected org.apache.tools.ant.types.FileSet |
fileset
|
protected String |
myFile
|
protected boolean |
notReplace
|
protected boolean |
useDefaultExcludes
|
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.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
MultipleCopy()
|
Method Summary | |
---|---|
void |
copy()
Performs the copy operation. |
org.apache.tools.ant.types.PatternSet.NameEntry |
createExclude()
add a name entry on the exclude list |
org.apache.tools.ant.types.PatternSet.NameEntry |
createExcludesFile()
add a name entry on the include files list |
org.apache.tools.ant.types.PatternSet.NameEntry |
createInclude()
add a name entry on the include list |
org.apache.tools.ant.types.PatternSet.NameEntry |
createIncludesFile()
add a name entry on the include files list |
org.apache.tools.ant.types.PatternSet |
createPatternSet()
add a set of patterns |
void |
execute()
|
protected org.apache.tools.ant.DirectoryScanner |
getDirectoryScanner(File baseDir)
Returns the directory scanner needed to access the files to process. |
void |
setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not. |
void |
setExcludes(String excludes)
Sets the set of exclude patterns. |
void |
setExcludesfile(File excludesfile)
Sets the name of the file containing the includes patterns. |
void |
setIncludes(String includes)
Sets the set of include patterns. |
void |
setIncludesfile(File includesfile)
Sets the name of the file containing the includes patterns. |
void |
setNotReplace(boolean nr)
|
void |
setTodir(File bd)
|
void |
setTofile(String f)
Sets the destination file. |
Methods inherited from class org.apache.tools.ant.taskdefs.Copy |
---|
add, add, addFileset, buildMap, buildMap, createFilterChain, createFilterSet, createMapper, doFileOperations, doResourceOperations, getEncoding, getFileUtils, getFilterChains, getFilterSets, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, scan, scan, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setTofile, setVerbose, supportsNonFileResources, 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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File basedir
protected String myFile
protected boolean notReplace
protected boolean useDefaultExcludes
protected org.apache.tools.ant.types.FileSet fileset
Constructor Detail |
---|
public MultipleCopy()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.taskdefs.Copy
org.apache.tools.ant.BuildException
public void copy() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setNotReplace(boolean nr)
public void setTodir(File bd)
setTodir
in class org.apache.tools.ant.taskdefs.Copy
public void setTofile(String f)
public org.apache.tools.ant.types.PatternSet.NameEntry createInclude()
public org.apache.tools.ant.types.PatternSet.NameEntry createIncludesFile()
public org.apache.tools.ant.types.PatternSet.NameEntry createExclude()
public org.apache.tools.ant.types.PatternSet.NameEntry createExcludesFile()
public org.apache.tools.ant.types.PatternSet createPatternSet()
public void setIncludes(String includes)
includes
- the string containing the include patternspublic void setExcludes(String excludes)
excludes
- the string containing the exclude patternspublic void setDefaultexcludes(boolean useDefaultExcludes)
useDefaultExcludes
- "true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.protected org.apache.tools.ant.DirectoryScanner getDirectoryScanner(File baseDir)
public void setIncludesfile(File includesfile)
includesfile
- A string containing the filename to fetch
the include patterns from.public void setExcludesfile(File excludesfile)
excludesfile
- A string containing the filename to fetch
the include patterns from.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |