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 Object
- implements ResourceNameIterator
Iterator over discovered Resource
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceIterator
public ResourceIterator()
nextResource
public abstract Resource nextResource()
- Returns the next
Resource
in the iteration.
- Returns:
- The next resource in the iteration
nextResourceName
public String nextResourceName()
- Returns the next resource name in the iteration.
- Specified by:
nextResourceName
in interface ResourceNameIterator
- Returns:
- The next resource name in the iteration
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.