|
||||||||||
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.names.DiscoverNamesInFile
public class DiscoverNamesInFile
Discover ALL files of a given name, and return resource names contained within the set of files:
Constructor Summary | |
---|---|
DiscoverNamesInFile()
Construct a new resource discoverer. |
|
DiscoverNamesInFile(ClassLoaders loaders)
Construct a new resource discoverer. |
|
DiscoverNamesInFile(ClassLoaders loaders,
String prefix,
String suffix)
Construct a new resource discoverer. |
|
DiscoverNamesInFile(ResourceDiscover discoverer)
Construct a new resource discoverer. |
|
DiscoverNamesInFile(ResourceDiscover discoverer,
String prefix,
String suffix)
Construct a new resource discoverer. |
|
DiscoverNamesInFile(String prefix,
String suffix)
Construct a new resource discoverer. |
Method Summary | |
---|---|
ResourceNameIterator |
findResourceNames(String serviceName)
Locate names of resources that are bound to resourceName . |
ResourceDiscover |
getDiscover()
Return the discoverer to resolve resources. |
void |
setDiscoverer(ResourceDiscover discover)
Set the discoverer to resolve resources. |
static void |
setLog(org.apache.commons.logging.Log _log)
Deprecated. This method is not thread-safe |
Methods inherited from class org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl |
---|
findResourceNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.discovery.ResourceNameDiscover |
---|
findResourceNames |
Constructor Detail |
---|
public DiscoverNamesInFile()
public DiscoverNamesInFile(String prefix, String suffix)
prefix
- The resource name prefixsuffix
- The resource name suffixpublic DiscoverNamesInFile(ClassLoaders loaders)
loaders
- The class loaders holderpublic DiscoverNamesInFile(ClassLoaders loaders, String prefix, String suffix)
loaders
- The class loaders holderprefix
- The resource name prefixsuffix
- The resource name suffixpublic DiscoverNamesInFile(ResourceDiscover discoverer)
discoverer
- The discoverer to resolve resourcespublic DiscoverNamesInFile(ResourceDiscover discoverer, String prefix, String suffix)
discoverer
- The discoverer to resolve resourcesprefix
- The resource name prefixsuffix
- The resource name suffixMethod Detail |
---|
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log
for this class.
_log
- This class Log
public void setDiscoverer(ResourceDiscover discover)
discover
- The discoverer to resolve resourcespublic ResourceDiscover getDiscover()
public ResourceNameIterator findResourceNames(String serviceName)
resourceName
.
findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceNameDiscoverImpl
serviceName
- The resource name to locate
ResourceNameIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |