org.apache.commons.discovery

Class ResourceIterator

Implemented Interfaces:
ResourceNameIterator
Known Direct Subclasses:
ResourceClassIterator

public abstract class ResourceIterator
extends java.lang.Object
implements ResourceNameIterator

Author:
Richard A. Sitze

Method Summary

abstract Resource
nextResource()
String
nextResourceName()
nextResourceName() returns the name of the next resource, and MUST be non-destructive.

Method Details

nextResource

public abstract Resource nextResource()

nextResourceName

public String nextResourceName()
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