view flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/MapAccess.java @ 6987:4126ff35beb8 interaktive-karte

Closing branch 'interaktive-karte', the contents must have been merged (without hg tracking it) to default long ago because it is in there.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 11 Sep 2013 11:41:29 +0200
parents 6131b352e5e4
children
line wrap: on
line source
package de.intevation.flys.artifacts.access;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import de.intevation.artifacts.CallContext;
import de.intevation.flys.artifacts.FLYSArtifact;


public class MapAccess
extends RangeAccess
{

    public MapAccess(FLYSArtifact artifact, CallContext context) {
        super(artifact, context);
    }

    public List<String> getHWS() {
        String param = getString("uesk.hws");
        if (param != null) {
            String[] split = param.split(";");
            return new ArrayList<String>(Arrays.asList(split));
        }
        return new ArrayList<String>();
    }
}

http://dive4elements.wald.intevation.org