|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.java.help.impl.TagProperties
Field Summary | |
protected java.util.Hashtable |
hashtable
|
protected int |
initialSize
|
Constructor Summary | |
TagProperties()
Creates an empty property list with no default values. |
|
TagProperties(int initialSize)
|
Method Summary | |
void |
clear()
|
java.lang.Object |
clone()
|
boolean |
contains(java.lang.Object value)
|
boolean |
containsKey(java.lang.Object key)
|
java.util.Enumeration |
elements()
|
java.lang.Object |
get(java.lang.Object key)
|
java.util.Hashtable |
getHashtable()
HERE - we probably should use plain Hashtable instead of TagProperties |
java.lang.String |
getProperty(java.lang.String key)
Searches for the property with the specified key in this property list. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Searches for the property with the specified key in this property list. |
boolean |
isEmpty()
|
java.util.Enumeration |
keys()
|
void |
list(java.io.PrintStream out)
Prints this property list out to the specified output stream. |
void |
list(java.io.PrintWriter out)
Prints this property list out to the specified output stream. |
java.util.Enumeration |
propertyNames()
Returns an enumeration of all the keys in this property list |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
remove(java.lang.Object key)
|
protected void |
setHashtable(java.util.Hashtable t)
|
int |
size()
Implementation of a deferred hashtable |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Hashtable hashtable
protected int initialSize
Constructor Detail |
public TagProperties()
public TagProperties(int initialSize)
Method Detail |
public java.lang.String getProperty(java.lang.String key)
null
if the property is not found.
key
- the property key.
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
key
- the hashtable key.defaultValue
- a default value.
public java.util.Enumeration propertyNames()
Enumeration
public void list(java.io.PrintStream out)
out
- an output stream.public void list(java.io.PrintWriter out)
out
- an output stream.public int size()
public boolean isEmpty()
public java.util.Enumeration keys()
public java.util.Enumeration elements()
public boolean contains(java.lang.Object value)
public boolean containsKey(java.lang.Object key)
public java.lang.Object get(java.lang.Object key)
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
public java.lang.Object remove(java.lang.Object key)
public void clear()
protected void setHashtable(java.util.Hashtable t)
public java.util.Hashtable getHashtable()
public java.lang.Object clone()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |