Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.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 | a575eaae7899 |
children | 07cc4cd9233e |
comparison
equal
deleted
inserted
replaced
7885:2e30d2c725fa | 7886:952b57b43e2f |
---|---|
36 | 36 |
37 public static final NumberFormat nf = | 37 public static final NumberFormat nf = |
38 NumberFormat.getInstance(DEFAULT_LOCALE); | 38 NumberFormat.getInstance(DEFAULT_LOCALE); |
39 | 39 |
40 public static final Pattern META_DEPTH = | 40 public static final Pattern META_DEPTH = |
41 Pattern.compile("^Tiefe: (\\w++)-(\\w++)( (\\w++))?.*"); | 41 Pattern.compile("^Tiefe: (\\d++)-(\\d++).*"); |
42 | 42 |
43 public static final Pattern META_TIMEINTERVAL = | 43 public static final Pattern META_TIMEINTERVAL = |
44 Pattern.compile("^Zeitraum: (\\d{4})-(\\d{4}).*"); | 44 Pattern.compile("^Zeitraum: (\\d{4})-(\\d{4}).*"); |
45 | 45 |
46 protected List<ImportPorosity> porosities; | 46 protected List<ImportPorosity> porosities; |