|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl org.apache.commons.discovery.resource.ResourceDiscoverImpl org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl<T>
T
- The SPI typepublic abstract class ResourceClassDiscoverImpl<T>
Default ResourceClassDiscover
implementation.
Constructor Summary | |
---|---|
ResourceClassDiscoverImpl()
Construct a new resource discoverer. |
|
ResourceClassDiscoverImpl(ClassLoaders classLoaders)
Construct a new resource discoverer. |
Method Summary | |
---|---|
ResourceClassIterator<T> |
findResourceClasses(ResourceNameIterator inputNames)
Locate class resources that are bound to resourceNames . |
abstract ResourceClassIterator<T> |
findResourceClasses(String className)
Locate class resources that are bound to className . |
ResourceNameIterator |
findResourceNames(ResourceNameIterator resourceNames)
Locate names of resources that are bound to inputNames . |
ResourceNameIterator |
findResourceNames(String resourceName)
Locate names of resources that are bound to resourceName . |
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 class org.apache.commons.discovery.resource.ResourceDiscoverImpl |
---|
addClassLoader, getClassLoaders, setClassLoaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceClassDiscoverImpl()
public ResourceClassDiscoverImpl(ClassLoaders classLoaders)
classLoaders
- The class loaders holderMethod Detail |
---|
public ResourceNameIterator findResourceNames(String resourceName)
resourceName
.
findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceDiscoverImpl
resourceName
- The resource name to locate
ResourceNameIterator
public ResourceNameIterator findResourceNames(ResourceNameIterator resourceNames)
inputNames
.
findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceDiscoverImpl
resourceNames
- The resource names to locate
ResourceNameIterator
public ResourceIterator findResources(String resourceName)
resourceName
.
findResources
in interface ResourceDiscover
findResources
in class ResourceDiscoverImpl
resourceName
- The resource name has to be located
public ResourceIterator findResources(ResourceNameIterator resourceNames)
resourceNames
.
findResources
in interface ResourceDiscover
findResources
in class ResourceDiscoverImpl
resourceNames
- The resources name iterator has to be located
public abstract ResourceClassIterator<T> findResourceClasses(String className)
className
.
findResourceClasses
in interface ResourceClassDiscover<T>
className
- The class name has to be located
public ResourceClassIterator<T> findResourceClasses(ResourceNameIterator inputNames)
resourceNames
.
findResourceClasses
in interface ResourceClassDiscover<T>
inputNames
- The resource name iterator
ResourceClassIterator
over the given resource name iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |