mschaefer@8971: /* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde mschaefer@8971: * Software engineering by mschaefer@8971: * Björnsen Beratende Ingenieure GmbH mschaefer@8971: * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt mschaefer@8971: * mschaefer@8971: * This file is Free Software under the GNU AGPL (>=v3) mschaefer@8971: * and comes with ABSOLUTELY NO WARRANTY! Check out the mschaefer@8971: * documentation coming with Dive4Elements River for details. mschaefer@8971: */ mschaefer@8971: mschaefer@8971: package org.dive4elements.river.importer.common; mschaefer@8971: mschaefer@8971: /** mschaefer@8971: * Parser interface mschaefer@8971: * mschaefer@8971: * @author Matthias Schäfer mschaefer@8971: * mschaefer@8971: */ mschaefer@8971: public interface ImportParser { mschaefer@8971: mschaefer@8971: /** mschaefer@8971: * Parses a file and adds the parsed objects to the parsers state mschaefer@8971: */ mschaefer@9650: void parse() throws Exception; mschaefer@8971: mschaefer@8971: /** mschaefer@8971: * Stores the parsed objects in the database with reference to a river mschaefer@8971: */ mschaefer@8971: void store(); mschaefer@8971: mschaefer@8971: }