comparison flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2826:c3f8cf0cdf69

Prepared the importer to parse flow velocity files and added a config option to skip that process. flys-backend/trunk@4243 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 17 Apr 2012 06:51:39 +0000
parents 7dffd28271d0
children 163c037f2c7e
comparison
equal deleted inserted replaced
2825:a948366d8ac5 2826:c3f8cf0cdf69
50 public static final String SKIP_SEDIMENT_DENSITY = 50 public static final String SKIP_SEDIMENT_DENSITY =
51 "flys.backend.importer.skip.sediment.density"; 51 "flys.backend.importer.skip.sediment.density";
52 52
53 public static final String SKIP_MORPHOLOGICAL_WIDTH = 53 public static final String SKIP_MORPHOLOGICAL_WIDTH =
54 "flys.backend.importer.skip.morphological.width"; 54 "flys.backend.importer.skip.morphological.width";
55
56 public static final String SKIP_FLOW_VELOCITY =
57 "flys.backend.importer.skip.flow.velocity";
55 58
56 59
57 public static final Config INSTANCE = new Config(); 60 public static final Config INSTANCE = new Config();
58 61
59 private Config () { 62 private Config () {
124 } 127 }
125 128
126 public boolean skipMorphologicalWidth() { 129 public boolean skipMorphologicalWidth() {
127 return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH); 130 return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH);
128 } 131 }
132
133 public boolean skipFlowVelocity() {
134 return Boolean.getBoolean(SKIP_FLOW_VELOCITY);
135 }
129 } 136 }
130 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 137 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org