Class Type
- java.lang.Object
- 
- org.apache.tools.ant.types.resources.selectors.Type
 
- 
- All Implemented Interfaces:
- ResourceSelector
 
 public class Type extends java.lang.Object implements ResourceSelector Type file/dir ResourceSelector.- Since:
- Ant 1.7
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classType.FileDirImplements the type attribute.
 - 
Constructor SummaryConstructors Constructor Description Type()Default constructor.Type(Type.FileDir fd)Convenience constructor.
 - 
Method SummaryModifier and Type Method Description booleanisSelected(Resource r)Return true if this Resource is selected.voidsetType(Type.FileDir fd)Set type; file|dir.
 
- 
- 
- 
Constructor Detail- 
Typepublic Type() Default constructor.
 - 
Typepublic Type(Type.FileDir fd) Convenience constructor.- Parameters:
- fd- the FileDir type.
 
 
- 
 - 
Method Detail- 
setTypepublic void setType(Type.FileDir fd) Set type; file|dir.- Parameters:
- fd- a FileDir object.
 
 - 
isSelectedpublic boolean isSelected(Resource r) Return true if this Resource is selected.- Specified by:
- isSelectedin interface- ResourceSelector
- Parameters:
- r- the Resource to check.
- Returns:
- whether the Resource was selected.
 
 
- 
 
-