annotate flys-backend/src/main/java/de/intevation/flys/importer/parsers/CrossSectionParser.java @ 4714:47c1d656a152

New CrossSectionParser interface.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 19 Dec 2012 14:58:34 +0100
parents
children e2e615109a2e
rev   line source
4714
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.importer.parsers;
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
2
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
3 import java.io.File;
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
4 import java.util.List;
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
5 import java.util.Map;
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
6 import de.intevation.flys.importer.ImportCrossSectionLine;
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
7 import de.intevation.flys.importer.XY;
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
8
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
9 public interface CrossSectionParser {
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
10
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
11 public String getDescription();
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
12
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
13 public Integer getYear();
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
14
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
15 public Map<Double,List<XY>> getData();
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
16
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
17 public interface Callback {
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
18 boolean accept(File file);
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
19 void parsed(CrossSectionParser parser);
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
20 }
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
21 }
47c1d656a152 New CrossSectionParser interface.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
22 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org