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[]
.
- Richard A. Sitze
DiscoverNamesInDictionary
public DiscoverNamesInDictionary()
Construct a new resource discoverer
DiscoverNamesInDictionary
public DiscoverNamesInDictionary(java.util.Dictionary dictionary)
Construct a new resource discoverer
addResource
public void addResource(java.lang.String resourceName,
java.lang.String resource)
addResource
public void addResource(java.lang.String resourceName,
java.lang.String[] resources)
getDictionary
protected java.util.Dictionary getDictionary()
setDictionary
public void setDictionary(java.util.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