Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java @ 7880:a575eaae7899
PorosityParser: Strip file extension for description.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 16 May 2014 13:14:52 +0200 |
parents | 8d4a4c645e61 |
children | 952b57b43e2f |
comparison
equal
deleted
inserted
replaced
7879:22acd6938ef0 | 7880:a575eaae7899 |
---|---|
54 } | 54 } |
55 | 55 |
56 | 56 |
57 @Override | 57 @Override |
58 public void parse(File file) throws IOException { | 58 public void parse(File file) throws IOException { |
59 currentDescription = file.getName(); | 59 currentDescription = file.getName().replaceAll("\\.csv", ""); |
60 | 60 |
61 super.parse(file); | 61 super.parse(file); |
62 } | 62 } |
63 | 63 |
64 | 64 |