Package org.apache.tools.ant.types
Class Path.PathElement
java.lang.Object
org.apache.tools.ant.types.Path.PathElement
- All Implemented Interfaces:
Iterable<Resource>
,ResourceCollection
- Enclosing class:
Path
Helper class, holds the nested
<pathelement>
values.-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.apache.tools.ant.types.ResourceCollection
isEmpty, stream
-
Constructor Details
-
PathElement
public PathElement()
-
-
Method Details
-
setLocation
-
setPath
-
getParts
-
iterator
-
isFilesystemOnly
public boolean isFilesystemOnly()Check if this resource is only for filesystems.- Specified by:
isFilesystemOnly
in interfaceResourceCollection
- Returns:
- true.
-
size
public int size()Get the number of resources.- Specified by:
size
in interfaceResourceCollection
- Returns:
- the number of parts.
-