org.apache.commons.discovery.resource.names
Class ResourceNameDiscoverImpl

java.lang.Object
  extended by org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
All Implemented Interfaces:
ResourceNameDiscover
Direct Known Subclasses:
DiscoverMappedNames, DiscoverNamesInAlternateManagedProperties, DiscoverNamesInDictionary, DiscoverNamesInFile, DiscoverNamesInManagedProperties, DiscoverNamesInSystemProperties, NameDiscoverers, ResourceDiscoverImpl

public abstract class ResourceNameDiscoverImpl
extends Object
implements ResourceNameDiscover

Helper class for methods implementing the ResourceNameDiscover interface.


Constructor Summary
ResourceNameDiscoverImpl()
           
 
Method Summary
 ResourceNameIterator findResourceNames(ResourceNameIterator inputNames)
          Locate names of resources that are bound to inputNames.
abstract  ResourceNameIterator findResourceNames(String resourceName)
          Locate names of resources that are bound to resourceName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceNameDiscoverImpl

public ResourceNameDiscoverImpl()
Method Detail

findResourceNames

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

Specified by:
findResourceNames in interface ResourceNameDiscover
Parameters:
resourceName - The resource name to locate
Returns:
A new ResourceNameIterator

findResourceNames

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

Specified by:
findResourceNames in interface ResourceNameDiscover
Parameters:
inputNames - The resource names to locate
Returns:
A new ResourceNameIterator


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