Default constructor.
Convenience constructor.paramfd the FileDir type. setType(fd);
setType(fd);
Return true if this Resource is selected.paramr the Resource to check.returnwhether the Resource was selected. if (type == null) { throw new BuildException("The type attribute is required."); } int i = type.getIndex(); return r.isDirectory() ? i == 1 : i == 0;
if (type == null) { throw new BuildException("The type attribute is required."); } int i = type.getIndex(); return r.isDirectory() ? i == 1 : i == 0;
Set type; file|dir.paramfd a FileDir object. type = fd;
type = fd;