| |
|
| java.lang.Object org.apache.tools.ant.types.resources.selectors.Type
Field Summary | |
final public static Type | DIR Static dir type selector. | final public static Type | FILE Static file type selector. |
Constructor Summary | |
public | Type() Default constructor. | public | Type(FileDir fd) Convenience constructor. |
Method Summary | |
public boolean | isSelected(Resource r) Return true if this Resource is selected.
Parameters: r - the Resource to check. | public void | setType(FileDir fd) Set type; file|dir. |
DIR | final public static Type DIR(Code) | | Static dir type selector.
|
FILE | final public static Type FILE(Code) | | Static file type selector.
|
Type | public Type()(Code) | | Default constructor.
|
Type | public Type(FileDir fd)(Code) | | Convenience constructor.
Parameters: fd - the FileDir type. |
isSelected | public boolean isSelected(Resource r)(Code) | | Return true if this Resource is selected.
Parameters: r - the Resource to check. whether the Resource was selected. |
setType | public void setType(FileDir fd)(Code) | | Set type; file|dir.
Parameters: fd - a FileDir object. |
|
|
|