private static final Logger logger = Logger.getLogger(TcsSources.class);\r
\r
\r
- @SuppressWarnings("deprecation")\r
public static URI normalExplicit(){\r
try {\r
// URL url = new File(("C:\\localCopy\\eclipse\\cdmlib\\trunk\\app-import\\src\\main\\resources\\excel\\NormalExplicit.xls")).toURL();\r
\r
}\r
\r
- \r
- public static String arecaceae_short(){\r
- // Monocots rdf\r
- URL url = new SDDSources().getClass().getResource("/arecaceae_short.rdf");\r
- String sourceUrl = url.toString();\r
- return sourceUrl;\r
- }\r
-\r
- public static String tcsXmlTest_local(){\r
- // tcsXmlTest.xml\r
- URL url = new TcsSources().getClass().getResource("/tcs/tcsXmlTest.xml");\r
- String sourceUrl = url.toString();\r
- return sourceUrl;\r
- \r
- } \r
\r
public static String tcsXml_cichorium(){\r
// tcsXmlTest.xml\r
String sourceUrl = url.toString();\r
return sourceUrl; \r
}\r
+\r
+ public static String tcsXml_nyctaginaceae(){\r
+ try {\r
+ File file = new File("\\\\PESIIMPORT3\\caryo\\nyctaginaceae\\ipni-Nyctaginaceae-Caryophyllaceae.xml");\r
+ return file.toURI().toURL().toString();\r
+ } catch (MalformedURLException e) {\r
+ throw new RuntimeException(e);\r
+ }\r
+ \r
+ }\r
+\r
+ \r
\r
public static String tcsXml_localPath(){\r
File file = new File("C:\\localCopy\\Data\\tdwg\\Cichorium_tcs.xml");\r
\r
} \r
\r
+ public static String tcsRdf_test(){\r
+ // globis.rdf.xml\r
+ //String sourceUrl = "file:C:/Dokumente und Einstellungen/a.kohlbecker.BGBM/Desktop/globis.rdf.xml";\r
+ String sourceUrl = "/test_rdf.xml";\r
+ URL resourceUrl = new TcsSources().getClass().getResource(sourceUrl);\r
+ logger.debug("TcsRdfSource " + resourceUrl.toString());\r
+ return resourceUrl.toString();\r
+ \r
+ } \r
\r
\r
}\r