org.apache.tools.ant.types
Class Description
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.types.DataType
|
+--org.apache.tools.ant.types.Description
- public class Description
- extends DataType
Description is used to provide a project-wide description element
(that is, a description that applies to a buildfile as a whole).
If present, the element is printed out before the
target descriptions.
Description has no attributes, only text. There can only be one
project description per project. A second description element will
overwrite the first.
Method Summary |
void |
addText(java.lang.String text)
Adds descriptive text to the project. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Description
public Description()
addText
public void addText(java.lang.String text)
- Adds descriptive text to the project.
Includes only those classes commonly used by task writers. The Ant 1.4.1 distribution includes complete Javadoc for all classes included in Ant, though in most cases these are not intended as APIs.