Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/exports/ODVExport.java @ 835:2423cefe7d39
Removed trailing whitespace.
gnv-artifacts/trunk@936 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 17 Apr 2010 09:35:24 +0000 |
parents | cda3bede32f8 |
children | 2b4f1c095468 |
comparison
equal
deleted
inserted
replaced
834:520a3b4da484 | 835:2423cefe7d39 |
---|---|
28 | 28 |
29 /** | 29 /** |
30 * Collection of parameters. | 30 * Collection of parameters. |
31 */ | 31 */ |
32 private Collection parameters = null; | 32 private Collection parameters = null; |
33 | 33 |
34 /** | 34 /** |
35 * The TimeStime which should be integrated in the Export to mark a | 35 * The TimeStime which should be integrated in the Export to mark a |
36 * TimeSeries. | 36 * TimeSeries. |
37 */ | 37 */ |
38 private String startTime = null; | 38 private String startTime = null; |
40 /** | 40 /** |
41 * Constructor | 41 * Constructor |
42 * @param collector DataCollector used to extract the required data. | 42 * @param collector DataCollector used to extract the required data. |
43 * @param parameters A collection of parameters to be displayed in the | 43 * @param parameters A collection of parameters to be displayed in the |
44 * export. | 44 * export. |
45 * @param startTime The TimeStamp which should ne integrated in the export | 45 * @param startTime The TimeStamp which should ne integrated in the export |
46 * to mark a TimeSeries. If it should not be a TimeSeries this Value must | 46 * to mark a TimeSeries. If it should not be a TimeSeries this Value must |
47 * be null. | 47 * be null. |
48 */ | 48 */ |
49 public ODVExport(DataCollector collector, Collection parameters, String startTime) { | 49 public ODVExport(DataCollector collector, Collection parameters, String startTime) { |
50 super(collector); | 50 super(collector); |
51 this.parameters = parameters; | 51 this.parameters = parameters; |
61 String[] header = profile.getHeader(); | 61 String[] header = profile.getHeader(); |
62 ArrayList<String> headerList = new ArrayList<String>(); | 62 ArrayList<String> headerList = new ArrayList<String>(); |
63 for (int i= 0; i < header.length; i++){ | 63 for (int i= 0; i < header.length; i++){ |
64 headerList.add(header[i]); | 64 headerList.add(header[i]); |
65 } | 65 } |
66 | 66 |
67 if (this.startTime != null){ | 67 if (this.startTime != null){ |
68 headerList.add("time_ISO8601"); | 68 headerList.add("time_ISO8601"); |
69 } | 69 } |
70 ArrayList<String> paramids = new ArrayList<String>(); | 70 ArrayList<String> paramids = new ArrayList<String>(); |
71 | 71 |