org.objectweb.util.ant
Class MultipleCopy
Copy
org.objectweb.util.ant.MultipleCopy
public class MultipleCopy
extends Copy
void | copy() - Performs the copy operation.
|
PatternSet.NameEntry | createExclude() - add a name entry on the exclude list
|
PatternSet.NameEntry | createExcludesFile() - add a name entry on the include files list
|
PatternSet.NameEntry | createInclude() - add a name entry on the include list
|
PatternSet.NameEntry | createIncludesFile() - add a name entry on the include files list
|
PatternSet | createPatternSet() - add a set of patterns
|
void | execute()
|
protected 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.
|
basedir
protected File basedir
fileset
protected FileSet fileset
myFile
protected String myFile
notReplace
protected boolean notReplace
useDefaultExcludes
protected boolean useDefaultExcludes
copy
public void copy()
throws BuildException
Performs the copy operation.
createExclude
public PatternSet.NameEntry createExclude()
add a name entry on the exclude list
createExcludesFile
public PatternSet.NameEntry createExcludesFile()
add a name entry on the include files list
createInclude
public PatternSet.NameEntry createInclude()
add a name entry on the include list
createIncludesFile
public PatternSet.NameEntry createIncludesFile()
add a name entry on the include files list
createPatternSet
public PatternSet createPatternSet()
add a set of patterns
execute
public void execute()
throws BuildException
getDirectoryScanner
protected DirectoryScanner getDirectoryScanner(File baseDir)
Returns the directory scanner needed to access the files to process.
setDefaultexcludes
public void setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not.
useDefaultExcludes
- "true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.
setExcludes
public void setExcludes(String excludes)
Sets the set of exclude patterns. Patterns may be separated by a comma
or a space.
excludes
- the string containing the exclude patterns
setExcludesfile
public void setExcludesfile(File excludesfile)
Sets the name of the file containing the includes patterns.
excludesfile
- A string containing the filename to fetch
the include patterns from.
setIncludes
public void setIncludes(String includes)
Sets the set of include patterns. Patterns may be separated by a comma
or a space.
includes
- the string containing the include patterns
setIncludesfile
public void setIncludesfile(File includesfile)
Sets the name of the file containing the includes patterns.
includesfile
- A string containing the filename to fetch
the include patterns from.
setNotReplace
public void setNotReplace(boolean nr)
setTodir
public void setTodir(File bd)
setTofile
public void setTofile(String f)
Sets the destination file.