diff artifacts/src/main/java/org/dive4elements/river/exports/ReferenceCurveExporter.java @ 5865:73da40528cf2

River artifacts: Renamed FLYSUtils to RiverUtils.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:09:31 +0200
parents 4897a58c8746
children 59ff03ff48f1
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ReferenceCurveExporter.java	Sun Apr 28 15:04:44 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ReferenceCurveExporter.java	Sun Apr 28 15:09:31 2013 +0200
@@ -24,7 +24,7 @@
 
 import org.dive4elements.river.artifacts.resources.Resources;
 
-import org.dive4elements.river.utils.FLYSUtils;
+import org.dive4elements.river.utils.RiverUtils;
 
 import java.io.IOException;
 import java.io.OutputStream;
@@ -232,10 +232,10 @@
         StepCSVWriter stepWriter = new StepCSVWriter();
         stepWriter.setCSVWriter(writer);
 
-        String startLocationDescription = FLYSUtils.getLocationDescription(
+        String startLocationDescription = RiverUtils.getLocationDescription(
             flys, ww.getStartKm());
 
-        String endLocationDescription = FLYSUtils.getLocationDescription(
+        String endLocationDescription = RiverUtils.getLocationDescription(
             flys, ww.getEndKm());
 
         for (int i = 0; i < size; i ++) {
@@ -322,7 +322,7 @@
 
         WINFOArtifact flys = (WINFOArtifact) master;
 
-        source.addMetaData ("river", FLYSUtils.getRivername(flys));
+        source.addMetaData ("river", RiverUtils.getRivername(flys));
 
         Locale locale = Resources.getLocale(meta);
         DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, locale);
@@ -345,10 +345,10 @@
 
         FLYSArtifact flys = (FLYSArtifact) master;
 
-        String startLocationDescription = FLYSUtils.getLocationDescription(
+        String startLocationDescription = RiverUtils.getLocationDescription(
             flys, ww.getStartKm());
 
-        String endLocationDescription = FLYSUtils.getLocationDescription(
+        String endLocationDescription = RiverUtils.getLocationDescription(
             flys, ww.getEndKm());
 
         for (int i = 0; i < size; i ++) {

http://dive4elements.wald.intevation.org