[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Wed May 19 23:33:09 UTC 2004


gss
Wed May 19 19:33:09 EDT 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/servlet
In directory pub.open-bio.org:/tmp/cvs-serv2283/org/smoby/servlet

Modified Files:
	AbstractMobyServlet.java 
Log Message:
Incorporation of new parser

moby-live/S-MOBY/ref-impl/core/org/smoby/servlet AbstractMobyServlet.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/servlet/AbstractMobyServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/servlet/AbstractMobyServlet.java	2004/05/19 18:27:08	1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/servlet/AbstractMobyServlet.java	2004/05/19 23:33:09	1.2
@@ -100,11 +100,12 @@
         
         try
         {
-            // Read the invocation graph from the "query-graph" parameter
+            // Read the invocation graph from the "graph" parameter
             // and parse it into a MOBYGraph object
             //
-            Parser parser = Parser.forInputStream(
-                   request.getInputStream(), Parser.LANGUAGE_RDF_XML);
+            String graphString = ParamReader.getParameter("graph", request);
+            Parser parser = Parser.forString(
+                   graphString, Parser.LANGUAGE_RDF_XML);
             MOBYProvider provider = parser.parseProvider();
             
             // Invoke the abstract handleRequest() method in order for the




More information about the MOBY-guts mailing list