Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/InfoGewParser.java @ 180:3908bfb2aa43
Store imported rivers into database. Needs testing!
flys-backend/trunk@1488 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 16 Mar 2011 18:23:45 +0000 |
parents | 31895d24387e |
children | 4ab2c3bd474c |
comparison
equal
deleted
inserted
replaced
179:aaac9c291067 | 180:3908bfb2aa43 |
---|---|
34 | 34 |
35 protected ArrayList<ImportRiver> rivers; | 35 protected ArrayList<ImportRiver> rivers; |
36 | 36 |
37 public InfoGewParser() { | 37 public InfoGewParser() { |
38 rivers = new ArrayList<ImportRiver>(); | 38 rivers = new ArrayList<ImportRiver>(); |
39 } | |
40 | |
41 public List<ImportRiver> getRivers() { | |
42 return rivers; | |
39 } | 43 } |
40 | 44 |
41 public static final String normalize(String f) { | 45 public static final String normalize(String f) { |
42 return f.replace("\\", "/").replace("/", File.separator); | 46 return f.replace("\\", "/").replace("/", File.separator); |
43 } | 47 } |