Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/common/ImportParser.java @ 8971:50416a0df385
Importer for the Schifffahrt (S-INFO) and Oekologie (U-INFO) files
author | mschaefer |
---|---|
date | Tue, 03 Apr 2018 10:18:30 +0200 |
parents | |
children | a2a42a6bac6b |
comparison
equal
deleted
inserted
replaced
8970:da5dc7446652 | 8971:50416a0df385 |
---|---|
1 /* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by | |
3 * Björnsen Beratende Ingenieure GmbH | |
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt | |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 | |
11 package org.dive4elements.river.importer.common; | |
12 | |
13 import java.io.IOException; | |
14 | |
15 /** | |
16 * Parser interface | |
17 * | |
18 * @author Matthias Schäfer | |
19 * | |
20 */ | |
21 public interface ImportParser { | |
22 | |
23 /** | |
24 * Parses a file and adds the parsed objects to the parsers state | |
25 */ | |
26 void parse() throws IOException; | |
27 | |
28 /** | |
29 * Stores the parsed objects in the database with reference to a river | |
30 */ | |
31 void store(); | |
32 | |
33 } |