bed357f760330fb9acf4d61f502a181abaae2c12
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
.tcs
;
15 import org
.apache
.log4j
.Logger
;
17 import eu
.etaxonomy
.cdm
.app
.sdd
.SDDSources
;
24 public class TcsSources
{
25 private static final Logger logger
= Logger
.getLogger(TcsSources
.class);
27 public static String
arecaceae(){
29 String sourceUrl
= "http://dev.e-taxonomy.eu/trac/attachment/wiki/SampleDataConversion/Monocotyledonae/arecaceae.rdf?format=raw";
30 logger
.debug("TcsSource " + sourceUrl
);
35 public static String
taxonX_local(){
37 //String sourceUrl = "file:C:/localCopy/eclipse/cdmlib/app-import/src/main/resources/palm_tn_29336.xml";
38 URL url
= new SDDSources().getClass().getResource("/taxonX/palm_tn_29336.xml");
39 String sourceUrl
= url
.toString();
43 public static File
taxonX_localDir(){
45 File sourceDir
= new File("target/classes/taxonX/"); //palm_tc_14495.xml
49 public static String
arecaceae_local(){
51 //String sourceUrl = "file:C:/localCopy/eclipse/cdmlib/app-import/src/main/resources/arecaceae.rdf";
52 URL url
= new SDDSources().getClass().getResource("/arecaceae.rdf");
53 String sourceUrl
= url
.toString();
59 public static String
arecaceae_short(){
61 URL url
= new SDDSources().getClass().getResource("/arecaceae_short.rdf");
62 String sourceUrl
= url
.toString();
66 public static String
tcsXmlTest_local(){
68 URL url
= new SDDSources().getClass().getResource("/tcsXmlTest.xml");
69 String sourceUrl
= url
.toString();
74 public static String
tcsXmlTest_local2(){
76 URL url
= new SDDSources().getClass().getResource("/TcsXmlImportConfiguratorTest-input.xml");
77 String sourceUrl
= url
.toString();