org.apache.commons.discovery.resource.names
Class DiscoverNamesInDictionary
- ResourceNameDiscover
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[]
.
DiscoverNamesInDictionary
public DiscoverNamesInDictionary()
Construct a new resource discoverer
DiscoverNamesInDictionary
public DiscoverNamesInDictionary(Dictionary dictionary)
Construct a new resource discoverer
addResource
public void addResource(String resourceName,
String resource)
addResource
public void addResource(String resourceName,
String[] resources)
getDictionary
protected Dictionary getDictionary()
setDictionary
public void setDictionary(Dictionary table)
Specify set of class loaders to be used in searching.
setLog
public static void setLog(Log _log)
Copyright (c) 2002 - Apache Software Foundation