summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java b/utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java
new file mode 100644
index 00000000..54ad4e6b
--- /dev/null
+++ b/utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java
@@ -0,0 +1,13 @@
+package at.gv.egiz.bku.utils;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class ConfigurationUtil {
+ public static List<String> getStringListFromObjectList(List<Object> olist) {
+ List<String> slist = new ArrayList<String>();
+ for (Object entry : olist)
+ slist.add(entry == null ? null : entry.toString());
+ return slist;
+ }
+}