Java Reference
In-Depth Information
table 8.1
overview of the Provider Class
Method
Description and Remarks
elements()
This method returns an enumeration of the values in
this hashtable.
entrySet()
This method returns an unmodiiable set view of the
property entries contained in this provider.
get(Object key)
This method returns the value to which the speciied
key is mapped or null if this map contains no mapping
for the key.
getInfo()
This method returns a description of the provider and
its services in a human-readable format.
getName()
This method returns the name of a given provider.
getProperty(String key)
This method searches for the property with the
speciied key in this property list.
getService(String type,
String algorithm)
This method returns the service describing this
provider's implementation of the speciied type of this
algorithm or alias.
getServices()
Get an unmodiiable set of all services supported by
this provider.
getVersion()
Returns the version number for this provider.
keys()
Returns an enumeration of the keys in this hashtable.
keySet()
Returns an unmodiiable set view of the property keys
contained in this provider.
load(InputStream inStream)
Reads a property list (key and element pairs) from the
input stream.
put(Object key,
Object value)
Sets the key property to have the speciied value.
putAll(Map<?,?> t)
Copies all of the mappings from the speciied map to
this provider.
putService(Provider.
Service s)
Add a service.
remove(Object key)
Removes the key property (and its corresponding
value).
removeService(Provider.
Service s)
Remove a service previously added using
putService() .
values()
Returns an unmodiiable collection view of the
property values contained in this provider.
Search WWH ::




Custom Search