|
||||||||||
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.DiscoverNamesInDictionary
public class DiscoverNamesInDictionary
Recover resources from a Dictionary. This covers Properties as well,
since Properties extends Hashtable extends Dictionary
.
The recovered value is expected to be either a String
or a String[]
.
Constructor Summary | |
---|---|
DiscoverNamesInDictionary()
Construct a new resource discoverer |
|
DiscoverNamesInDictionary(Dictionary dictionary)
Construct a new resource discoverer |
Method Summary | |
---|---|
void |
addResource(String resourceName,
String resource)
|
void |
addResource(String resourceName,
String[] resources)
|
ResourceNameIterator |
findResourceNames(String resourceName)
Locate names of resources that are bound to resourceName . |
protected Dictionary |
getDictionary()
|
void |
setDictionary(Dictionary table)
Specify set of class loaders to be used in searching. |
static void |
setLog(org.apache.commons.logging.Log _log)
|
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 DiscoverNamesInDictionary()
public DiscoverNamesInDictionary(Dictionary dictionary)
Method Detail |
---|
public static void setLog(org.apache.commons.logging.Log _log)
protected Dictionary getDictionary()
public void setDictionary(Dictionary table)
public void addResource(String resourceName, String resource)
public void addResource(String resourceName, String[] resources)
public ResourceNameIterator findResourceNames(String resourceName)
ResourceNameDiscoverImpl
resourceName
.
findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceNameDiscoverImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |