Mercurial > dive4elements > river
view backend/src/main/java/org/dive4elements/river/importer/parsers/CrossSectionParser.java @ 5932:c7951390fd58
Importer: Log an error if parsing a STA file failed.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 08 May 2013 17:52:54 +0200 |
parents | 4dd33b86dc61 |
children | 4c3ccf2b0304 |
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde * Software engineering by Intevation GmbH * * This file is Free Software under the GNU AGPL (>=v3) * and comes with ABSOLUTELY NO WARRANTY! Check out the * documentation coming with Dive4Elements River for details. */ package org.dive4elements.river.importer.parsers; import org.dive4elements.river.importer.XY; import java.io.File; import java.util.List; import java.util.Map; 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 :