changeset 4714:47c1d656a152

New CrossSectionParser interface.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 19 Dec 2012 14:58:34 +0100
parents 2c99995395f5
children 2f7a509f5acf
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/CrossSectionParser.java
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/CrossSectionParser.java	Wed Dec 19 14:58:34 2012 +0100
@@ -0,0 +1,22 @@
+package de.intevation.flys.importer.parsers;
+
+import java.io.File;
+import java.util.List;
+import java.util.Map;
+import de.intevation.flys.importer.ImportCrossSectionLine;
+import de.intevation.flys.importer.XY;
+
+public interface CrossSectionParser {
+
+    public String getDescription();
+
+    public Integer getYear();
+
+    public Map<Double,List<XY>> getData();
+
+    public interface Callback {
+        boolean accept(File file);
+        void    parsed(CrossSectionParser parser);
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org