diff backend/src/main/java/org/dive4elements/river/importer/common/AbstractParser.java @ 9056:ddebd4c2fe93

Corrected station parsing for infrastructure import
author mschaefer
date Fri, 04 May 2018 14:05:21 +0200
parents 4c5eeaff554c
children a2a42a6bac6b
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/common/AbstractParser.java	Fri May 04 14:03:47 2018 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/common/AbstractParser.java	Fri May 04 14:05:21 2018 +0200
@@ -304,6 +304,27 @@
     }
 
     /**
+     * Logs an info message, appending the relative file path
+     */
+    protected void logInfo(final String message) {
+        getLog().info(message + ";" + this.rootRelativePath);
+    }
+
+    /**
+     * Logs a debug message, appending the relative file path
+     */
+    protected void logDebug(final String message) {
+        getLog().debug(message + ";" + this.rootRelativePath);
+    }
+
+    /**
+     * Logs a trace message, appending the relative file path
+     */
+    protected void logTrace(final String message) {
+        getLog().trace(message + ";" + this.rootRelativePath);
+    }
+
+    /**
      * Creates a new series import object
      */
     protected abstract HEADER createSeriesImport(final String filename);

http://dive4elements.wald.intevation.org