org.apache.tools.ant.types.resources.selectors
Class Type
java.lang.Object
org.apache.tools.ant.types.resources.selectors.Type
- ResourceSelector
public class Type
extends java.lang.Object
Type file/dir ResourceSelector.
static Type | DIR - Static dir type selector.
|
static Type | FILE - Static file type selector.
|
DIR
public static final Type DIR
Static dir type selector.
FILE
public static final Type FILE
Static file type selector.
Type
public Type()
Default constructor.
isSelected
public boolean isSelected(Resource r)
Return true if this Resource is selected.
- isSelected in interface ResourceSelector
r
- the Resource to check.
- whether the Resource was selected.
setType
public void setType(Type.FileDir fd)
Set type; file|dir.