2 package org
.de
.metux
.util
;
6 // FIXME: should be obsoleted by class Properties
8 public class Stringtable
12 public Stringtable(Hashtable ht
)
22 public void remove(String key
)
29 public String
get(String key
)
31 if ((key
==null) || (key
.equals("")))
34 return (String
)h
.get(key
);
37 public void set(String key
, String value
)
39 if ((key
==null)||(key
.length()==0))
42 if ((value
==null)||(value
.length()==0))
48 public final void add(String key
, String value
)
50 if ((key
==null)||(key
.equals(""))||(value
==null)||(value
.equals("")))
53 String ex
= (String
)h
.get(key
);
57 h
.put(key
,ex
+" "+value
);
60 public final Enumeration
keys()