Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/DA66Parser.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
24 import java.util.TreeMap; | 24 import java.util.TreeMap; |
25 | 25 |
26 import java.util.regex.Matcher; | 26 import java.util.regex.Matcher; |
27 import java.util.regex.Pattern; | 27 import java.util.regex.Pattern; |
28 | 28 |
29 import org.apache.log4j.Logger; | 29 import org.apache.logging.log4j.Logger; |
30 import org.apache.logging.log4j.LogManager; | |
30 | 31 |
31 | 32 |
32 /** | 33 /** |
33 * To create cross-sections, generate: Map<double,list<xy>> from files | 34 * To create cross-sections, generate: Map<double,list<xy>> from files |
34 * in da66 format. | 35 * in da66 format. |
35 */ | 36 */ |
36 public class DA66Parser extends LineParser implements CrossSectionParser | 37 public class DA66Parser extends LineParser implements CrossSectionParser |
37 { | 38 { |
38 /** Private log. */ | 39 /** Private log. */ |
39 private static Logger log = Logger.getLogger(DA66Parser.class); | 40 private static Logger log = LogManager.getLogger(DA66Parser.class); |
40 | 41 |
41 private static final String HEAD_HEAD = "00"; | 42 private static final String HEAD_HEAD = "00"; |
42 private static final String HEAD_GEOM = "66"; // "Values" | 43 private static final String HEAD_GEOM = "66"; // "Values" |
43 private static final String HEAD_ENDG = "88"; // Probably never used. | 44 private static final String HEAD_ENDG = "88"; // Probably never used. |
44 | 45 |