Top Description Constructors Methods
org.apache.tools.ant.taskdefs

public Class Typedef

extends Definer
Class Inheritance
Known Direct Subclasses
org.apache.tools.ant.taskdefs.Taskdef

Adds a data type definition to the current project. Two attributes are needed, the name that identifies this data type uniquely, and the full name of the class (including the packages) that implements this type.

You can also define a group of data types at once using the file or resource attributes. These attributes point to files in the format of Java property files. Each line defines a single data type in the format:

typename=fully.qualified.java.classname

Typedef should be used to add your own types to the system. Data types are things likepaths or filesets that can be defined at the project level and referenced via their ID attribute.

Custom data types usually need custom tasks to put them to good use.

Since
Ant 1.4

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.apache.tools.ant.taskdefs.Definer:
addDefinitionexecutegetClassnamegetFilegetNamegetResourceloadPropertiesmakeResourceFromURIsetAdaptersetAdapterClasssetAdaptTosetAdaptToClasssetAntlibsetClassnamesetFilesetFormatsetNamesetOnErrorsetResourcesetRestrict

Constructor Detail

Typedefback to summary
public Typedef()