[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Jan 17 17:12:47 UTC 2008


gordonp
Thu Jan 17 12:12:47 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/services
In directory dev.open-bio.org:/tmp/cvs-serv22865/src/main/ca/ucalgary/seahawk/services

Modified Files:
	MobyComplexBuilder.java 
Log Message:
Changed Base64 coding from Axis util to org.biomoby.client.util.Base64Coder
moby-live/Java/src/main/ca/ucalgary/seahawk/services MobyComplexBuilder.java,1.14,1.15
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/services/MobyComplexBuilder.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/services/MobyComplexBuilder.java	2007/12/17 18:39:30	1.14
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/services/MobyComplexBuilder.java	2008/01/17 17:12:47	1.15
@@ -1,5 +1,6 @@
 package ca.ucalgary.seahawk.services;
 
+import org.biomoby.client.util.Base64Coder;
 import org.biomoby.shared.*;
 import org.biomoby.shared.data.MobyDataBytes;
 import org.biomoby.shared.data.MobyDataComposite;
@@ -471,7 +472,7 @@
 	
 	if(isBinary){
 	    //(new Exception("Base 64 encoding")).printStackTrace();
-	    result = org.apache.axis.encoding.Base64.encode(data == null ? result.getBytes() : resultBytes);
+	    result = new String(Base64Coder.encode(data == null ? result.getBytes() : resultBytes));
 	}
 	else{
 	    //System.err.println("NO BASE64 (" + MobyClient.ENCODING_ATTR_BASE64_VAL + 




More information about the MOBY-guts mailing list