bd08b6387c621f8fdf1a2ade2139ea7e0a7d19ee
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.app
.sdd
;
14 import org
.apache
.log4j
.Logger
;
21 public class SDDSources
{
22 @SuppressWarnings("unused")
23 private static final Logger logger
= Logger
.getLogger(SDDSources
.class);
25 public static String
viola_local(){
26 // SDD XML example from the SDD v1.1 package
27 URL url
= new SDDSources().getClass().getResource("/sdd/SDD-Test-Simple.xml");
28 String sourceUrl
= url
.toString();
33 public static String
SDDImport_local(String filePath
){
35 String sourceUrl
= "file:" + filePath
;
40 public static String
LIAS_local(){
41 // SDD XML example from http://wiki.tdwg.org/twiki/bin/view/SDD/RealWorldExamples_SDD1dot1
42 //String sourceUrl = "file:C:/Documents and Settings/lis/Mes documents/SDD/SDD bis/SDD1.1/SDD1.1/examples/LIAS_Main.sdd11/LIAS_Main.sdd11.xml";
43 URL url
= new SDDSources().getClass().getResource("/sdd/LIAS_Main.sdd11.xml");
44 String sourceUrl
= url
.toString();
49 public static String
Erythroneura_local(){
50 // SDD XML example from http://wiki.tdwg.org/twiki/bin/view/SDD/RealWorldExamples_SDD1dot1
51 //String sourceUrl = "file:C:/Documents and Settings/lis/Mes documents/SDD/SDD bis/SDD1.1/SDD1.1/examples/Erythroneura.sdd11/Erythroneura.sdd11.xml";
52 URL url
= new SDDSources().getClass().getResource("/sdd/Erythroneura.sdd11.xml");
53 String sourceUrl
= url
.toString();
58 public static String
Cicad_local(){
59 // SDD XML example from http://wiki.tdwg.org/twiki/bin/view/SDD/RealWorldExamples_SDD1dot1
60 //String sourceUrl = "file:C:/Documents and Settings/lis/Mes documents/SDD/SDD bis/SDD1.1/SDD1.1/examples/Cicad.sdd11/Cicad.sdd11.xml";
61 URL url
= new SDDSources().getClass().getResource("/sdd/Cicad.sdd11.xml");
62 String sourceUrl
= url
.toString();
67 public static String
ValRosandraFRIDAKey_local(){
68 // SDD XML example from http://wiki.tdwg.org/twiki/bin/view/SDD/RealWorldExamples_SDD1dot1
69 //String sourceUrl = "file:C:/Documents and Settings/lis/Mes documents/SDD/SDD bis/SDD1.1/SDD1.1/examples/Val-Rosandra-FRIDA-Key.sdd11/Val-Rosandra-FRIDA-Key.sdd11.xml";
70 URL url
= new SDDSources().getClass().getResource("/sdd/Val-Rosandra-FRIDA-Key.sdd11.xml");
71 String sourceUrl
= url
.toString();
76 public static String
FreshwaterAquaticInsects_local(){
77 // SDD export from an Xper2 application
78 String sourceUrl
= "file:C:/Documents and Settings/lis/Mes documents/SDD/SDD bis/SDD1.1/SDD1.1/examples/Freshwater aquatic insects/test v2.sdd.xml";
82 public static String
Crepis_test_local(){
83 URL url
= new SDDSources().getClass().getResource("/sdd/Crepis-test.sdd");
84 String sourceUrl
= url
.toString();
88 public static String
Cichorieae_DA_export_sdd(){
89 URL url
= new SDDSources().getClass().getResource("/sdd/Cichorieae-DA-export-sdd.xml");
90 String sourceUrl
= url
.toString();