Gianpaolo Coro 2013-03-19 17:42:35 +00:00
parent 366995f3b8
commit 07d349a8e4
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
package org.gcube.dataanalysis.fin.taxamatch;
import org.gcube.dataanalysis.taxamatch.fin.func_Taxamatch;
public class SimpleTest {
public static void main(String[] args) throws Exception{
func_Taxamatch func = new func_Taxamatch();
String EQUAL = "EQUAL";
String genus = "Gadus";
String species = "morhua";
String ip = "biodiversity.db.i-marine.research-infrastructures.eu";
String user = "postgres";
String password = "0b1s@d4sc13nc3";
String db = "fishbase";
String[] matches = func.func_Taxamatch(genus, species, EQUAL, EQUAL, ip, user, password, db);
System.out.println("Match: "+matches[0]);
}
}