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
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface ResourceCollection
isEmpty, streamModifier and TypeMethodDescriptiondefault booleanisEmpty()Learn whether thisResourceCollectionis empty.stream()Return aStreamover thisResourceCollection.
-
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:
isFilesystemOnlyin interfaceResourceCollection- Returns:
- true.
-
size
public int size()Get the number of resources.- Specified by:
sizein interfaceResourceCollection- Returns:
- the number of parts.
-