acd831cc1afa69b28be516af3f8ab04947b54ca7
[cdmlib-apps.git] / app-import / src / main / java / eu / etaxonomy / cdm / app / eflora / EfloraSources.java
1 // $Id$
2 /**
3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.cdm.app.eflora;
11
12 import java.net.URI;
13 import java.net.URISyntaxException;
14
15 import org.apache.log4j.Logger;
16
17 /**
18 * @author a.mueller
19 * @date 09.06.2010
20 *
21 */
22 public class EfloraSources {
23 @SuppressWarnings("unused")
24 private static final Logger logger = Logger.getLogger(EfloraSources.class);
25
26 //Ericaceae
27 public static URI ericacea_local() {
28 URI sourceUrl;
29 try {
30 sourceUrl = new URI("file:C:/localCopy/Data/eflora/africa/ericaceae_v2.xml");
31 return sourceUrl;
32 } catch (URISyntaxException e) {
33 e.printStackTrace();
34 return null;
35 }
36 }
37
38 //Sapindaceae
39 public static URI fm_sapindaceae_local(){
40 String sourceUrl = "file:C:/localCopy/Data/eflora/floraMalesiana/sapindaceae-01v25.xml";
41 try {
42 URI uri = new URI(sourceUrl);
43 return uri;
44 } catch (URISyntaxException e) {
45 e.printStackTrace();
46 return null;
47 }
48
49 }
50
51 //Sapindaceae2
52 public static URI fm_sapindaceae2_local(){
53 String sourceUrl = "file:C:/localCopy/Data/eflora/floraMalesiana/sapindaceae-02final2.xml";
54 URI uri;
55 try {
56 uri = new URI(sourceUrl);
57 return uri;
58 } catch (URISyntaxException e) {
59 e.printStackTrace();
60 return null;
61 }
62
63 }
64
65 //Flora Malesiana Vol 13-1
66 public static URI fm_13_1_local(){
67 URI sourceUrl;
68 try {
69 sourceUrl = new URI("file:C:/localCopy/Data/eflora/floraMalesiana/fm13_1_v8_final.xml");
70 return sourceUrl;
71 } catch (URISyntaxException e) {
72 e.printStackTrace();
73 return null;
74 }
75
76 }
77
78 //Flora Malesiana Vol 13-2
79 public static URI fm_13_2_local(){
80 URI sourceUrl;
81 try {
82 sourceUrl = new URI("file:C:/localCopy/Data/eflora/floraMalesiana/fm13_2_v8_final.xml");
83 return sourceUrl;
84 } catch (URISyntaxException e) {
85 e.printStackTrace();
86 return null;
87 }
88
89 }
90
91
92 }