org.apache.commons.discovery
Class ResourceIterator

java.lang.Object
  extended byorg.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
ResourceIterator()
           
 
Method Summary
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
 

Constructor Detail

ResourceIterator

public ResourceIterator()
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 interface ResourceNameIterator


Copyright (c) 2002 - Apache Software Foundation