[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Oct 25 02:33:23 UTC 2006


gordonp
Tue Oct 24 22:33:23 EDT 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder
In directory dev.open-bio.org:/tmp/cvs-serv9957/src/main/org/biomoby/client/rdf/builder

Modified Files:
	ServiceInstanceRDF.java 
Added Files:
	FilteredStream.java 
Log Message:
Added MobyServlet and Seahawk initial versions to the repository
moby-live/Java/src/main/org/biomoby/client/rdf/builder FilteredStream.java,NONE,1.1 ServiceInstanceRDF.java,1.32,1.33
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java	2006/10/12 16:57:14	1.32
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java	2006/10/25 02:33:23	1.33
@@ -1103,27 +1103,3 @@
 		// log.info(findService("", "", false));
 	}
 }
-
-class FilteredStream extends FilterOutputStream {
-	StringBuffer sb = null;
-
-	public FilteredStream(OutputStream aStream) {
-		super(aStream);
-		sb = new StringBuffer("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
-				+ System.getProperty("line.separator"));
-	}
-
-	public void write(byte b[]) throws IOException {
-		String aString = new String(b);
-		sb.append(aString);
-	}
-
-	public void write(byte b[], int off, int len) throws IOException {
-		String aString = new String(b, off, len);
-		sb.append(aString);
-	}
-
-	public String getOutput() {
-		return sb.toString();
-	}
-}
\ No newline at end of file




More information about the MOBY-guts mailing list