[Webfunds-commits] java/webfunds/client SepFileStore.java

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


gelderen    00/06/04 15:52:20

  Modified:    webfunds/client SepFileStore.java
  Log:
  Temporary getInstance method. Should eventually move to Store.

Revision  Changes    Path
1.39      +9 -1      java/webfunds/client/SepFileStore.java

Index: SepFileStore.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/SepFileStore.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- SepFileStore.java	2000/05/27 03:09:54	1.38
+++ SepFileStore.java	2000/06/04 19:52:20	1.39
@@ -1,5 +1,5 @@
 /*
- * $Id: SepFileStore.java,v 1.38 2000/05/27 03:09:54 iang Exp $
+ * $Id: SepFileStore.java,v 1.39 2000/06/04 19:52:20 gelderen Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -70,6 +70,14 @@
         this.fix  = logfix;
     }
     
+
+    // XXX: should use Store.getInstance(type, loc) or just (loc)
+    public static Store getInstance(File dir)
+    {
+        return getInstance(dir, new PrintWriter(System.err), "ignore: ");
+    }
+
+
     /**
      * Returns an existing SepFileStore, with files in dir
      * read in as objects in the hashtable.