|
|||||||||||
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.ws.util.ant.FileTask
LOG-DONE Defines a property with a path value, allowing a base dir to be specified for expanding the path if it is relative.
Field Summary | |
static org.apache.ws.util.i18n.Messages |
MSG
DOCUMENT_ME |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
FileTask()
|
Method Summary | |
void |
execute()
|
void |
setBaseDir(java.io.File baseDir)
If the specified location is relative, this directory will be used as the base directory when expanding the location to an absolute path. |
void |
setLocation(java.lang.String location)
A filesystem path - may be absolute or relative. |
void |
setProperty(java.lang.String property)
Sets the name of the property to set. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.ws.util.i18n.Messages MSG
Constructor Detail |
public FileTask()
Method Detail |
public void setBaseDir(java.io.File baseDir)
baseDir
- used as the base directory when expanding the location
to an absolute pathpublic void setLocation(java.lang.String location)
location
- a filesystem path - may be absolute or relativepublic void setProperty(java.lang.String property)
property
- the name of the property to setpublic void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
{@link org.apache.tools.ant.Task#execute()}
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |