|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
java.security.Provider
public abstract class Provider
| Nested Class Summary | |
|---|---|
static class |
Provider.Service
|
| Field Summary |
|---|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
protected |
Provider(String name,
double version,
String info)
|
| Method Summary | |
|---|---|
void |
clear()
Removes all key/value pairs from this Hashtable, leaving the size zero and the capacity unchanged. |
Set<Map.Entry<Object,Object>> |
entrySet()
Returns a Set of the mappings contained in this Hashtable. |
String |
getInfo()
Returns the generic information about the services being provided. |
String |
getName()
Returns the name of this provider. |
(package private) int |
getProviderNumber()
Get the provider preference order number. |
(package private) Provider.Service |
getService(String type)
Get the service of the specified type |
Provider.Service |
getService(String type,
String algorithm)
|
Set<Provider.Service> |
getServices()
|
double |
getVersion()
Returns the version number for the services being provided |
(package private) boolean |
implementsAlg(String serv,
String alg,
String attribute,
String val)
returns true if the provider implements the specified algorithm. |
Set<Object> |
keySet()
Returns a Set of the keys contained in this Hashtable. |
void |
load(InputStream inStream)
Loads properties from the specified InputStream. |
Object |
put(Object key,
Object value)
Associate the specified value with the specified key in this Hashtable. |
void |
putAll(Map<?,?> t)
Copies every mapping in the specified Map to this Hashtable. |
protected void |
putService(Provider.Service s)
|
Object |
remove(Object key)
Remove the key/value pair with the specified key from this Hashtable. |
protected void |
removeService(Provider.Service s)
|
(package private) void |
setProviderNumber(int n)
Set the provider preference order number. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
Collection<Object> |
values()
Returns a Collection of the values contained in this Hashtable. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| Methods inherited from class java.util.Hashtable |
|---|
clone, contains, containsKey, containsValue, elements, equals, get, hashCode, isEmpty, keys, rehash, size |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Provider(String name,
double version,
String info)
| Method Detail |
|---|
public String getName()
public double getVersion()
public String getInfo()
public String toString()
toString in class Hashtable<Object,Object>public void clear()
Hashtable
clear in interface Map<Object,Object>clear in class Hashtable<Object,Object>Hashtable.isEmpty(),
Hashtable.size()
public void load(InputStream inStream)
throws IOException
Propertieskey=value, one property per line.
load in class PropertiesinStream - the input stream
IOExceptionpublic void putAll(Map<?,?> t)
Hashtable
putAll in interface Map<Object,Object>putAll in class Hashtable<Object,Object>t - the Map to copy mappings frompublic Set<Map.Entry<Object,Object>> entrySet()
Hashtable
entrySet in interface Map<Object,Object>entrySet in class Hashtable<Object,Object>public Set<Object> keySet()
Hashtable
keySet in interface Map<Object,Object>keySet in class Hashtable<Object,Object>public Collection<Object> values()
Hashtable
values in interface Map<Object,Object>values in class Hashtable<Object,Object>
public Object put(Object key,
Object value)
Hashtable
put in interface Map<Object,Object>put in class Hashtable<Object,Object>key - the key to addvalue - the value to add
Hashtable.elements(),
Hashtable.get(java.lang.Object),
Hashtable.keys(),
Object.equals(java.lang.Object)public Object remove(Object key)
Hashtable
remove in interface Map<Object,Object>remove in class Hashtable<Object,Object>key - the key to remove
Hashtable.get(java.lang.Object),
Hashtable.put(K, V)
boolean implementsAlg(String serv,
String alg,
String attribute,
String val)
serv - Crypto servicealg - Algorithm or typeattribute - The attribute name or nullval - The attribute value
void setProviderNumber(int n)
n - int getProviderNumber()
Provider.Service getService(String type)
public Provider.Service getService(String type,
String algorithm)
public Set<Provider.Service> getServices()
protected void putService(Provider.Service s)
protected void removeService(Provider.Service s)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||