Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java @ 4755:ba8c2147b4ff
W80Parser: Correct c&p stuff in comments (da66->w80).
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 03 Jan 2013 14:41:02 +0100 |
parents | ee6c0f246b28 |
children | ce15529f7624 |
comparison
equal
deleted
inserted
replaced
4754:04377ccef10a | 4755:ba8c2147b4ff |
---|---|
20 import org.apache.log4j.Logger; | 20 import org.apache.log4j.Logger; |
21 | 21 |
22 | 22 |
23 /** | 23 /** |
24 * To create cross-sections, generate: Map<double,list<xy>> from files | 24 * To create cross-sections, generate: Map<double,list<xy>> from files |
25 * in da66 format. | 25 * in w80 format. |
26 */ | 26 */ |
27 public class W80Parser extends LineParser implements CrossSectionParser | 27 public class W80Parser extends LineParser implements CrossSectionParser |
28 { | 28 { |
29 /** Private logger. */ | 29 /** Private logger. */ |
30 private static Logger logger = Logger.getLogger(W80Parser.class); | 30 private static Logger logger = Logger.getLogger(W80Parser.class); |
184 return true; | 184 return true; |
185 } | 185 } |
186 | 186 |
187 | 187 |
188 /** | 188 /** |
189 * Called for each line. Try to extract info from a da66 line. | 189 * Called for each line. Try to extract info from a w80 line. |
190 */ | 190 */ |
191 @Override | 191 @Override |
192 protected void handleLine(int lineNum, String line) { | 192 protected void handleLine(int lineNum, String line) { |
193 String pointId = line.substring(0,20); | 193 String pointId = line.substring(0,20); |
194 String station = line.substring(9,16); | 194 String station = line.substring(9,16); |