Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2814:bfd6a7ef0ad5
Added a new config option to skip parsing MINFO sediment density values.
flys-backend/trunk@4231 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 13 Apr 2012 09:52:22 +0000 |
parents | 04eeb45df27b |
children | 7dffd28271d0 |
comparison
equal
deleted
inserted
replaced
2813:f121c0f456ab | 2814:bfd6a7ef0ad5 |
---|---|
44 public static final String SKIP_BED_HEIGHT_SINGLE = | 44 public static final String SKIP_BED_HEIGHT_SINGLE = |
45 "flys.backend.importer.skip.bed.height.single"; | 45 "flys.backend.importer.skip.bed.height.single"; |
46 | 46 |
47 public static final String SKIP_BED_HEIGHT_EPOCH = | 47 public static final String SKIP_BED_HEIGHT_EPOCH = |
48 "flys.backend.importer.skip.bed.height.epoch"; | 48 "flys.backend.importer.skip.bed.height.epoch"; |
49 | |
50 public static final String SKIP_SEDIMENT_DENSITY = | |
51 "flys.backend.importer.skip.sediment.density"; | |
49 | 52 |
50 | 53 |
51 public static final Config INSTANCE = new Config(); | 54 public static final Config INSTANCE = new Config(); |
52 | 55 |
53 private Config () { | 56 private Config () { |
110 } | 113 } |
111 | 114 |
112 public boolean skipBedHeightEpoch() { | 115 public boolean skipBedHeightEpoch() { |
113 return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH); | 116 return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH); |
114 } | 117 } |
118 | |
119 public boolean skipSedimentDensity() { | |
120 return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY); | |
121 } | |
115 } | 122 } |
116 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 123 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |