2 package org
.de
.metux
.propertylist
;
4 import java
.util
.Hashtable
;
5 import java
.util
.Enumeration
;
9 public interface IPropertylist
13 public void loadHash_low(Hashtable h
) throws EIllegalValue
;
14 public boolean loadTextDB_low(String filename
) throws EIllegalValue
;
16 public void loadHash_sub(Hashtable h
);
17 public boolean loadTextDB_sub(String filename
);
19 public void loadHash_top(Hashtable h
);
20 public boolean loadTextDB_top(String filename
);
22 /* call the postprocessor */
23 public void runPostprocessor() throws EIllegalValue
;
26 public void remove ( String key
);
27 public void set ( String key
, String value
);
28 public void add ( String key
, String value
);
30 public String
get_raw(String name
) throws EIllegalValue
;
31 public String
get_str(String name
) throws EIllegalValue
;
32 public String
[] get_list(String name
) throws EIllegalValue
;
33 public boolean get_bool(String name
) throws EIllegalValue
;
34 public boolean get_bool(String name
, boolean def
);
36 public boolean load_content(String field
, File filename
, boolean strip_comments
);
37 public boolean load_content(String field
, URL url
, boolean strip_comments
);
39 public Enumeration
propertyNames();
41 public IPropertylist
clone();