|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.Get
Get a particular source.
Fields inherited from class org.apache.tools.ant.Task |
description, location, project, target, taskName, taskType |
Constructor Summary | |
Get()
|
Method Summary | |
void |
execute()
Does the work. |
void |
setDest(java.lang.String dest)
Where to copy the source file. |
void |
setIgnoreErrors(java.lang.String v)
Don't stop if get fails if set to " true ". |
void |
setSrc(java.lang.String d)
Set the URL. |
void |
setVerbose(java.lang.String v)
Be verbose, if set to " true ". |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getProject, getTaskName, init, log, log, setDescription, setLocation, setOwningTarget, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Get()
Method Detail |
public void execute() throws BuildException
execute
in class Task
BuildException
- Thrown in unrecovrable error.public void setSrc(java.lang.String d)
d
- URL for the file.public void setDest(java.lang.String dest)
dest
- Path to file.public void setVerbose(java.lang.String v)
true
".v
- if "true" then be verbosepublic void setIgnoreErrors(java.lang.String v)
true
".v
- if "true" then be verbose
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |