Package org.apache.commons.discovery
Class ResourceIterator
- java.lang.Object
-
- org.apache.commons.discovery.ResourceIterator
-
- All Implemented Interfaces:
ResourceNameIterator
- Direct Known Subclasses:
ResourceClassIterator
public abstract class ResourceIterator extends java.lang.Object implements ResourceNameIterator
- Author:
- Richard A. Sitze
-
-
Constructor Summary
Constructors Constructor Description ResourceIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Resource
nextResource()
java.lang.String
nextResourceName()
nextResourceName() returns the name of the next resource, and MUST be non-destructive.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.commons.discovery.ResourceNameIterator
hasNext
-
-
-
-
Method Detail
-
nextResource
public abstract Resource nextResource()
-
nextResourceName
public java.lang.String nextResourceName()
Description copied from interface:ResourceNameIterator
nextResourceName() returns the name of the next resource, and MUST be non-destructive. Repeated calls- Specified by:
nextResourceName
in interfaceResourceNameIterator
-
-