|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType org.apache.tools.ant.types.AbstractFileSet org.apache.tools.ant.types.DirSet
public class DirSet
Subclass as hint for supporting tasks that the included directories instead of files should be used.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.types.DataType |
---|
checked, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
|
DirSet()
Constructor for DirSet. |
protected |
DirSet(DirSet dirset)
Constructor for DirSet, with DirSet to shallowly clone. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a DirSet that has the same basedir and same patternsets as this one. |
boolean |
isFilesystemOnly()
Always returns true. |
java.util.Iterator |
iterator()
Fulfill the ResourceCollection contract. |
int |
size()
Fulfill the ResourceCollection contract. |
java.lang.String |
toString()
Returns included directories as a list of semicolon-separated paths. |
Methods inherited from class org.apache.tools.ant.types.DataType |
---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirSet()
protected DirSet(DirSet dirset)
dirset
- the dirset to clone.Method Detail |
---|
public java.lang.Object clone()
clone
in class AbstractFileSet
public java.util.Iterator iterator()
iterator
in interface ResourceCollection
public int size()
size
in interface ResourceCollection
public boolean isFilesystemOnly()
isFilesystemOnly
in interface ResourceCollection
public java.lang.String toString()
toString
in class AbstractFileSet
String
of included directories.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |