Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/AtFileParser.java @ 486:8ea09ec7f0c8
Importer: Attach a time interval to a discharge table if we find one during import.
flys-backend/trunk@1813 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 03 May 2011 17:34:52 +0000 |
parents | 6b231041dc18 |
children | 14de9246b356 |
comparison
equal
deleted
inserted
replaced
485:6b231041dc18 | 486:8ea09ec7f0c8 |
---|---|
132 if (br != null) { | 132 if (br != null) { |
133 br.close(); | 133 br.close(); |
134 } | 134 } |
135 } | 135 } |
136 | 136 |
137 if (from != null) { | |
138 ImportTimeInterval interval = new ImportTimeInterval(from, to); | |
139 dischargeTable.setTimeInterval(interval); | |
140 } | |
141 | |
137 logger.info("Finished parsing AT file: " + file); | 142 logger.info("Finished parsing AT file: " + file); |
138 | 143 |
139 return dischargeTable; | 144 return dischargeTable; |
140 } | 145 } |
141 | 146 |