org.apache.tools.ant.taskdefs
Class Dirname
- Cloneable
Determines the directory name of the specified file.
This task can accept the following attributes:
Both
file and
property are required.
When this task executes, it will set the specified property to the
value of the specified file up to, but not including, the last path
element. If file is a file, the directory will be the current
directory.
void | execute() - Execute this task.
|
void | setFile(File file) - Path to take the dirname of.
|
void | setProperty(String property) - The name of the property to set.
|
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 |
setFile
public void setFile(File file)
Path to take the dirname of.
setProperty
public void setProperty(String property)
The name of the property to set.
property
- the name of the property