propertylist/IPropertylist: removed obsolete loadTextDB_top()
authorEnrico Weigelt, metux IT service <[email protected]>
Fri, 23 Jul 2010 20:35:49 +0000 (23 22:35 +0200)
committerEnrico Weigelt, metux IT service <[email protected]>
Sat, 24 Jul 2010 18:44:20 +0000 (24 20:44 +0200)
propertylist/IPropertylist.java
propertylist/Propertylist.java

index d06133e..d46d5cb 100644 (file)
@@ -18,8 +18,7 @@ public interface IPropertylist
     @Deprecated
     public void     loadHash_top(Hashtable h);
     public void     loadProperties_top(Properties pr);
-    public boolean  loadTextDB_top(String filename);
-    
+
     /* call the postprocessor */
     public void     runPostprocessor() throws EIllegalValue;
 
index 2fe113d..1dcafe8 100644 (file)
@@ -176,22 +176,6 @@ public class Propertylist implements IPropertylist
        }
     }
 
-    public boolean loadTextDB_top(File filename)
-    {
-       return loadTextDB_top(filename.toString());
-    }
-
-    public boolean loadTextDB_top(String filename)
-    {
-       Properties pr = _load_properties(filename);
-       
-       if (pr==null)
-           return false;
-           
-        loadHash_top(pr);
-        return true;
-    }
-
     public void remove ( String key )
     {
        db.remove(key);