|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 holder
public 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 resources
public DiscoverNamesInFile(ResourceDiscover discoverer,
String prefix,
String suffix)
discoverer - The discoverer to resolve resourcesprefix - The resource name prefixsuffix - The resource name suffix| Method Detail |
|---|
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log for this class.
_log - This class Logpublic void setDiscoverer(ResourceDiscover discover)
discover - The discoverer to resolve resourcespublic ResourceDiscover getDiscover()
public ResourceNameIterator findResourceNames(String serviceName)
resourceName.
findResourceNames in interface ResourceNameDiscoverfindResourceNames in class ResourceNameDiscoverImplserviceName - The resource name to locate
ResourceNameIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||