org.apache.tools.ant.taskdefs
Class Copyfile
- Cloneable
Copies a file.
void | execute() - Execute the task.
|
void | setDest(File dest) - Set the destination file.
|
void | setFiltering(String filter) - The filtering attribute.
|
void | setForceoverwrite(boolean force) - The forceoverwrite attribute.
|
void | setSrc(File src) - Set the source file.
|
bindToOwner , execute , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , log , log , maybeConfigure , perform , reconfigure , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
setDest
public void setDest(File dest)
Set the destination file.
dest
- the destination file.
setFiltering
public void setFiltering(String filter)
The filtering attribute.
Default is false.
filter
- if true use filtering
setForceoverwrite
public void setForceoverwrite(boolean force)
The forceoverwrite attribute.
Default is false.
force
- if true overwrite even if the destination file
is newer that the source file
setSrc
public void setSrc(File src)
Set the source file.