[Dive4elements-commits] [PATCH 2 of 4] New CrossSectionParser interface
Wald Commits
scm-commit at wald.intevation.org
Wed Dec 19 14:54:20 CET 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1355925514 -3600
# Node ID 47c1d656a1520fd9ad7b524c1df6699e65ee0ab3
# Parent 2c99995395f5e1893c17dac560527834ae7a204e
New CrossSectionParser interface.
diff -r 2c99995395f5 -r 47c1d656a152 flys-backend/src/main/java/de/intevation/flys/importer/parsers/CrossSectionParser.java
--- /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 :
More information about the Dive4elements-commits
mailing list