org.apache.commons.discovery
Interface ResourceDiscover

All Superinterfaces:
ResourceNameDiscover
All Known Subinterfaces:
ResourceClassDiscover<T>
All Known Implementing Classes:
DiscoverClasses, DiscoverResources, ResourceClassDiscoverImpl, ResourceDiscoverImpl

public interface ResourceDiscover
extends ResourceNameDiscover

Interface representing a mapping from a set of source resource names to a resultant set of resource.


Method Summary
 ResourceIterator findResources(ResourceNameIterator resourceNames)
          Locate resources that are bound to resourceNames.
 ResourceIterator findResources(String resourceName)
          Locate resources that are bound to resourceName.
 
Methods inherited from interface org.apache.commons.discovery.ResourceNameDiscover
findResourceNames, findResourceNames
 

Method Detail

findResources

ResourceIterator findResources(String resourceName)
Locate resources that are bound to resourceName.

Parameters:
resourceName - The resource has to be located
Returns:
The bound resources iterator

findResources

ResourceIterator findResources(ResourceNameIterator resourceNames)
Locate resources that are bound to resourceNames.

Parameters:
resourceNames - The resource has to be located
Returns:
The bound resources iterator


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.