Changeset 6538
- Timestamp:
- 09/22/15 09:35:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.3-oeaw/vlo-vocabularies/src/main/java/eu/clarin/cmdi/vlo/transformers/CSVTransformer.java
r6534 r6538 98 98 InputStream input; 99 99 try{ 100 input = new FileInputStream(Constants.CSV_PATH + map + ".csv"); 101 }catch(FileNotFoundException e){ 100 input = CSVTransformer.class.getResourceAsStream("/" + Constants.CSV_PATH + map + ".csv"); 101 //input = new FileInputStream(Constants.CSV_PATH + map + ".csv"); 102 }catch(NullPointerException e){ 102 103 _logger.error("Could not find the file " + Constants.CSV_PATH + map + ".csv", e); 103 104 _logger.info("trying with /" + Constants.CSV_PATH + map + ".csv");
Note: See TracChangeset
for help on using the changeset viewer.