Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/SedimentDensityParser.java @ 7886:952b57b43e2f
Importer: depths are always numbers assumed to represent centimeters.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 16 May 2014 17:51:55 +0200 |
parents | 4b26fd60105f |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
7885:2e30d2c725fa | 7886:952b57b43e2f |
---|---|
35 | 35 |
36 public static final NumberFormat nf = | 36 public static final NumberFormat nf = |
37 NumberFormat.getInstance(DEFAULT_LOCALE); | 37 NumberFormat.getInstance(DEFAULT_LOCALE); |
38 | 38 |
39 public static final Pattern META_DEPTH = | 39 public static final Pattern META_DEPTH = |
40 Pattern.compile("^Tiefe: (\\w++)-(\\w++)( (\\w++))?.*"); | 40 Pattern.compile("^Tiefe: (\\d++)-(\\d++).*"); |
41 | 41 |
42 public static final Pattern META_YEAR = | 42 public static final Pattern META_YEAR = |
43 Pattern.compile("^Jahr: (\\d{4}).*"); | 43 Pattern.compile("^Jahr: (\\d{4}).*"); |
44 | 44 |
45 protected List<ImportSedimentDensity> sedimentDensities; | 45 protected List<ImportSedimentDensity> sedimentDensities; |