Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/WstParser.java @ 2346:f834b411ca57
Added db table, model class and importer stuff for units.
flys-backend/trunk@2877 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 04 Oct 2011 06:47:00 +0000 |
parents | f08fe480092c |
children | 2e18e12fac11 |
comparison
equal
deleted
inserted
replaced
2345:c3ea91aee989 | 2346:f834b411ca57 |
---|---|
21 import java.math.BigDecimal; | 21 import java.math.BigDecimal; |
22 | 22 |
23 import de.intevation.flys.importer.ImportWstQRange; | 23 import de.intevation.flys.importer.ImportWstQRange; |
24 import de.intevation.flys.importer.ImportWstColumn; | 24 import de.intevation.flys.importer.ImportWstColumn; |
25 import de.intevation.flys.importer.ImportRange; | 25 import de.intevation.flys.importer.ImportRange; |
26 import de.intevation.flys.importer.ImportUnit; | |
26 import de.intevation.flys.importer.ImportWst; | 27 import de.intevation.flys.importer.ImportWst; |
27 | 28 |
28 public class WstParser | 29 public class WstParser |
29 { | 30 { |
30 private static Logger log = Logger.getLogger(WstParser.class); | 31 private static Logger log = Logger.getLogger(WstParser.class); |
301 } | 302 } |
302 } | 303 } |
303 } | 304 } |
304 | 305 |
305 } | 306 } |
307 | |
308 wst.setUnit(new ImportUnit(einheit)); | |
309 | |
306 addInterval(minKm, maxKm, aktAbfluesse); | 310 addInterval(minKm, maxKm, aktAbfluesse); |
307 } | 311 } |
308 finally { | 312 finally { |
309 if (in != null) { | 313 if (in != null) { |
310 in.close(); | 314 in.close(); |