[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Fri Mar 19 00:37:48 UTC 2004


gss
Thu Mar 18 19:37:48 EST 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/example-providers/acmepubs.com/src/com/acmepubs/servlets
In directory pub.open-bio.org:/tmp/cvs-serv9032/src/com/acmepubs/servlets

Modified Files:
	CitationSearchServlet.java 
Log Message:
Slightly changed project structure

moby-live/S-MOBY/ref-impl/example-providers/acmepubs.com/src/com/acmepubs/servlets CitationSearchServlet.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/example-providers/acmepubs.com/src/com/acmepubs/servlets/CitationSearchServlet.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/example-providers/acmepubs.com/src/com/acmepubs/servlets/CitationSearchServlet.java	2004/03/12 17:48:37	1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/example-providers/acmepubs.com/src/com/acmepubs/servlets/CitationSearchServlet.java	2004/03/19 00:37:48	1.2
@@ -1,38 +1,38 @@
-package com.acmepubs.servlets;
-
-import java.io.*;
-import java.util.*;
-
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import org.smoby.tools.server.servlet.AbstractMobyServlet;
-
-/**
- * This class is a concrete subclass of AbstractMobyServlet that illustrates
- * how to be an S-MOBY provider.
- */
-public class CitationSearchServlet extends AbstractMobyServlet
-{
-    /**
-     * The provider description graph is stored in a file named "citationSearch"
-     */
-    private final static String DESCRIPTION_GRAPH_FILE = "citationSearch.rdf";
-    
-	/**
-	 * Read the description graph from a file named "terms" in the
-	 * servlet's top level directory
-	 */
-	protected BufferedReader getDescriptionGraphReader()
-	{
-		return getFileReader(DESCRIPTION_GRAPH_FILE);
-	}
-    
-    /**
-     * Return the last modification date of the description graph file
-     */
-    public long getLastModified(HttpServletRequest request)
-    {
-    	return getLastModifiedDate(DESCRIPTION_GRAPH_FILE);
-    }
+package com.acmepubs.servlets;
+
+import java.io.*;
+import java.util.*;
+
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+import org.smoby.tools.server.servlet.AbstractMobyServlet;
+
+/**
+ * This class is a concrete subclass of AbstractMobyServlet that illustrates
+ * how to be an S-MOBY provider.
+ */
+public class CitationSearchServlet extends AbstractMobyServlet
+{
+    /**
+     * The provider description graph is stored in a file named "citationSearch"
+     */
+    private final static String DESCRIPTION_GRAPH_FILE = "citationSearch.rdf";
+    
+	/**
+	 * Read the description graph from a file named "terms" in the
+	 * servlet's top level directory
+	 */
+	protected BufferedReader getDescriptionGraphReader()
+	{
+		return getFileReader(DESCRIPTION_GRAPH_FILE);
+	}
+    
+    /**
+     * Return the last modification date of the description graph file
+     */
+    public long getLastModified(HttpServletRequest request)
+    {
+    	return getLastModifiedDate(DESCRIPTION_GRAPH_FILE);
+    }
 }
\ No newline at end of file




More information about the MOBY-guts mailing list