[Webfunds-commits] java/webfunds/store AppendFileStore.java

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Sun, 4 Jun 2000 15:54:15 -0400 (AST)


gelderen    00/06/04 15:54:15

  Modified:    webfunds/store AppendFileStore.java
  Log:
  Add getInstance factory method. Should handle subclasses in the future.

Revision  Changes    Path
1.12      +9 -1      java/webfunds/store/AppendFileStore.java

Index: AppendFileStore.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/store/AppendFileStore.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- AppendFileStore.java	2000/05/28 02:58:43	1.11
+++ AppendFileStore.java	2000/06/04 19:54:15	1.12
@@ -1,5 +1,5 @@
 /*
- * $Id: AppendFileStore.java,v 1.11 2000/05/28 02:58:43 iang Exp $
+ * $Id: AppendFileStore.java,v 1.12 2000/06/04 19:54:15 gelderen Exp $
  *
  * Copyright (c) Systemics Ltd 1995-2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -123,6 +123,14 @@
         }
 
     }
+
+
+    public static Store getInstance(File dir)
+    throws StoreException
+    {
+        return getInstance(dir, null, "");
+    }
+        
 
     /**
      * Returns an existing AppendFileStore, with files in dir