[MOBY-guts] biomoby commit
Martin Senger
senger at pub.open-bio.org
Mon Sep 19 08:08:32 UTC 2005
senger
Mon Sep 19 04:08:32 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/Clients
In directory pub.open-bio.org:/tmp/cvs-serv29075/src/Clients
Modified Files:
MobyCmdLineClient.java MobyDigestClient.java MobyGraphs.java
PopulateLocalCentralForTesting.java TestingCentral.java
Log Message:
caching also namespaces
moby-live/Java/src/Clients MobyCmdLineClient.java,1.11,1.12 MobyDigestClient.java,1.2,1.3 MobyGraphs.java,1.9,1.10 PopulateLocalCentralForTesting.java,1.4,1.5 TestingCentral.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/MobyCmdLineClient.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Java/src/Clients/MobyCmdLineClient.java 2005/09/04 13:45:37 1.11
+++ /home/repository/moby/moby-live/Java/src/Clients/MobyCmdLineClient.java 2005/09/19 08:08:32 1.12
@@ -13,7 +13,6 @@
import org.tulsoft.shared.StringUtils;
import org.tulsoft.shared.GException;
-import java.net.*;
import java.util.*;
import java.io.*;
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/MobyDigestClient.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/Clients/MobyDigestClient.java 2005/09/04 13:45:37 1.2
+++ /home/repository/moby/moby-live/Java/src/Clients/MobyDigestClient.java 2005/09/19 08:08:32 1.3
@@ -1,7 +1,9 @@
// MobyDigestClient.java
//
-// senger at ebi.ac.uk
-// September 2004
+// Created: September 2004
+//
+// This file is a component of the BioMoby project.
+// Copyright Martin Senger (martin.senger at gmail.com).
//
import org.biomoby.shared.*;
@@ -11,12 +13,15 @@
import org.tulsoft.shared.FileUtils;
import org.tulsoft.shared.GException;
+import java.util.Map;
+import java.util.Iterator;
+
/**
* A simple client retrieving and printing cummulative (digestive)
* registry entries. It can collaborate with the locally cached
* registry entries. <p>
*
- * @author <A HREF="mailto:senger at ebi.ac.uk">Martin Senger</A>
+ * @author <A HREF="mailto:martin.senger at gmail.com">Martin Senger</A>
* @version $Id$
*/
@@ -101,6 +106,17 @@
}
}
+ // read all namespaces
+ if (cmd.hasOption ("-n")) {
+ Map namespaces = worker.getNamespaces();
+ for (Iterator it = namespaces.entrySet().iterator(); it.hasNext(); ) {
+ Map.Entry entry = (Map.Entry)it.next();
+ System.out.println (entry.getKey());
+ if (details)
+ System.out.println ("\t" + entry.getValue());
+ }
+ }
+
} catch (Exception e) {
System.err.println ("===ERROR===");
e.printStackTrace();
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/MobyGraphs.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/Clients/MobyGraphs.java 2005/09/04 13:45:37 1.9
+++ /home/repository/moby/moby-live/Java/src/Clients/MobyGraphs.java 2005/09/19 08:08:32 1.10
@@ -14,7 +14,6 @@
import org.tulsoft.shared.FileUtils;
import org.tulsoft.shared.GException;
-import java.net.*;
import java.util.*;
import java.io.*;
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/PopulateLocalCentralForTesting.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/Clients/PopulateLocalCentralForTesting.java 2005/05/19 15:57:24 1.4
+++ /home/repository/moby/moby-live/Java/src/Clients/PopulateLocalCentralForTesting.java 2005/09/19 08:08:32 1.5
@@ -7,9 +7,6 @@
import org.biomoby.shared.*;
import org.biomoby.client.*;
-import java.net.*;
-import java.util.*;
-
/**
* This is a very specialized client, meant solely for testing
* purposes, and to be used on a local installation of a Moby Central
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/TestingCentral.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/Clients/TestingCentral.java 2005/08/31 00:48:39 1.5
+++ /home/repository/moby/moby-live/Java/src/Clients/TestingCentral.java 2005/09/19 08:08:32 1.6
@@ -8,7 +8,6 @@
import org.biomoby.shared.*;
import org.biomoby.client.*;
-import java.net.*;
import java.util.*;
/**
More information about the MOBY-guts
mailing list