Class Type
java.lang.Object
org.apache.tools.ant.types.resources.selectors.Type
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this Resource is selected.void
setType
(Type.FileDir fd) Set type; file|dir.
-
Field Details
-
FILE
Static file type selector. -
DIR
Static dir type selector. -
ANY
Static any type selector. Since Ant 1.8.
-
-
Constructor Details
-
Type
public Type()Default constructor. -
Type
-
-
Method Details
-
setType
-
isSelected
Return true if this Resource is selected.- Specified by:
isSelected
in interfaceResourceSelector
- Parameters:
r
- the Resource to check.- Returns:
- whether the Resource was selected.
-