org.apache.commons.discovery
Interface ResourceNameDiscover

All Known Subinterfaces:
ResourceClassDiscover<T>, ResourceDiscover
All Known Implementing Classes:
DiscoverClasses, DiscoverMappedNames, DiscoverNamesInAlternateManagedProperties, DiscoverNamesInDictionary, DiscoverNamesInFile, DiscoverNamesInManagedProperties, DiscoverNamesInSystemProperties, DiscoverResources, DiscoverServiceNames, NameDiscoverers, ResourceClassDiscoverImpl, ResourceDiscoverImpl, ResourceNameDiscoverImpl

public interface ResourceNameDiscover

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


Method Summary
 ResourceNameIterator findResourceNames(ResourceNameIterator resourceNames)
          Locate names of resources that are bound to resourceNames.
 ResourceNameIterator findResourceNames(String resourceName)
          Locate names of resources that are bound to resourceName.
 

Method Detail

findResourceNames

ResourceNameIterator findResourceNames(String resourceName)
Locate names of resources that are bound to resourceName.

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

findResourceNames

ResourceNameIterator findResourceNames(ResourceNameIterator resourceNames)
Locate names of resources that are bound to resourceNames.

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


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