Here you can find the source of commaStringToList(String inputString)
public static List<String> commaStringToList(String inputString)
//package com.java2s; //License from project: Apache License import java.util.Arrays; import java.util.List; public class Main { public static List<String> commaStringToList(String inputString) { return Arrays.asList(inputString.split("\\s*,\\s*")); }/* w ww. j a v a 2 s . c om*/ }