|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.Copyfile
public class Copyfile
Copies a file.
Field Summary |
---|
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 | |
---|---|
Copyfile()
Deprecated. |
Method Summary | |
---|---|
void |
execute()
Deprecated. Execute the task. |
void |
setDest(java.io.File dest)
Deprecated. Set the destination file. |
void |
setFiltering(java.lang.String filter)
Deprecated. The filtering attribute. |
void |
setForceoverwrite(boolean force)
Deprecated. The forceoverwrite attribute. |
void |
setSrc(java.io.File src)
Deprecated. Set the source file. |
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 |
Constructor Detail |
---|
public Copyfile()
Method Detail |
---|
public void setSrc(java.io.File src)
src
- the source file.public void setForceoverwrite(boolean force)
force
- if true overwrite even if the destination file
is newer that the source filepublic void setDest(java.io.File dest)
dest
- the destination file.public void setFiltering(java.lang.String filter)
filter
- if true use filteringpublic void execute() throws BuildException
execute
in class Task
BuildException
- on error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |