Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/MapAccess.java @ 5379:61bf64b102bc mapgenfix
Merge with default branch
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Fri, 22 Mar 2013 11:25:54 +0100 |
parents | 6131b352e5e4 |
children |
comparison
equal
deleted
inserted
replaced
5175:cfc5540a4eec | 5379:61bf64b102bc |
---|---|
1 package de.intevation.flys.artifacts.access; | |
2 | |
3 import java.util.ArrayList; | |
4 import java.util.Arrays; | |
5 import java.util.List; | |
6 | |
7 import de.intevation.artifacts.CallContext; | |
8 import de.intevation.flys.artifacts.FLYSArtifact; | |
9 | |
10 | |
11 public class MapAccess | |
12 extends RangeAccess | |
13 { | |
14 | |
15 public MapAccess(FLYSArtifact artifact, CallContext context) { | |
16 super(artifact, context); | |
17 } | |
18 | |
19 public List<String> getHWS() { | |
20 String param = getString("uesk.hws"); | |
21 if (param != null) { | |
22 String[] split = param.split(";"); | |
23 return new ArrayList<String>(Arrays.asList(split)); | |
24 } | |
25 return new ArrayList<String>(); | |
26 } | |
27 } |