git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineExternalAlgorithms@71570 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
366995f3b8
commit
07d349a8e4
|
@ -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]);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue