|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.resources.selectors.Type
public class Type
Type file/dir ResourceSelector.
| Nested Class Summary | |
|---|---|
static class |
Type.FileDir
Implements the type attribute. |
| Field Summary | |
|---|---|
static Type |
ANY
Static any type selector. |
static Type |
DIR
Static dir type selector. |
static Type |
FILE
Static file type selector. |
| Constructor Summary | |
|---|---|
Type()
Default constructor. |
|
Type(Type.FileDir fd)
Convenience constructor. |
|
| Method Summary | |
|---|---|
boolean |
isSelected(Resource r)
Return true if this Resource is selected. |
void |
setType(Type.FileDir fd)
Set type; file|dir. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Type FILE
public static final Type DIR
public static final Type ANY
| Constructor Detail |
|---|
public Type()
public Type(Type.FileDir fd)
fd - the FileDir type.| Method Detail |
|---|
public void setType(Type.FileDir fd)
fd - a FileDir object.public boolean isSelected(Resource r)
isSelected in interface ResourceSelectorr - the Resource to check.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||