comparison gwt-client/src/main/java/org/dive4elements/river/client/server/CSVExportServiceImpl.java @ 7036:e25ef8376c14

issue971: Change CSV column separator to ";".
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 18 Sep 2013 12:25:05 +0200
parents ea9eef426962
children 238fc722f87a
comparison
equal deleted inserted replaced
7035:e61bb712ee41 7036:e25ef8376c14
75 HttpClient client = new HttpClientImpl(url, locale); 75 HttpClient client = new HttpClientImpl(url, locale);
76 76
77 try { 77 try {
78 InputStream in = client.collectionOut(requestDoc, uuid, "export"); 78 InputStream in = client.collectionOut(requestDoc, uuid, "export");
79 Reader reader = new InputStreamReader (in, "UTF-8"); 79 Reader reader = new InputStreamReader (in, "UTF-8");
80 CSVReader csvReader = new CSVReader (reader); 80 CSVReader csvReader = new CSVReader (reader, ';');
81 81
82 List<String[]> lines = new ArrayList<String[]>(); 82 List<String[]> lines = new ArrayList<String[]>();
83 String[] line = null; 83 String[] line = null;
84 84
85 while ((line = csvReader.readNext()) != null) { 85 while ((line = csvReader.readNext()) != null) {

http://dive4elements.wald.intevation.org