@Test public void testFromCSV() throws Exception { final List<String> values = ConstrettoUtils.fromCSV(VALUE_ONE + "," + VALUE_TWO); assertEquals(Arrays.asList(VALUE_ONE, VALUE_TWO), values); }
public static List<String> fromCSV(String csv) { List<String> elements = new ArrayList<String>(); for (String element : csv.split(",")) elements.add(element); return elements; }
ConstrettoUtils { public static List<String> fromCSV(String csv) { List<String> elements = new ArrayList<String>(); for (String element : csv.split(",")) elements.add(element); return elements; } }
ConstrettoUtils { public static List<String> fromCSV(String csv) { List<String> elements = new ArrayList<String>(); for (String element : csv.split(",")) elements.add(element); return elements; }  }
ConstrettoUtils { public static List<String> fromCSV(String csv) { List<String> elements = new ArrayList<String>(); for (String element : csv.split(",")) elements.add(element); return elements; }  static String asCsv(String[] arr); static List<String> fromCSV(String csv); static boolean isEmpty(String string); static String substringBetween(String str, String open, String close); static String substringAfter(String str, String separator); static Locale toLocale(String str); @SuppressWarnings("unchecked") static void mergePropertiesIntoMap(Properties props, Map map); }
ConstrettoUtils { public static List<String> fromCSV(String csv) { List<String> elements = new ArrayList<String>(); for (String element : csv.split(",")) elements.add(element); return elements; }  static String asCsv(String[] arr); static List<String> fromCSV(String csv); static boolean isEmpty(String string); static String substringBetween(String str, String open, String close); static String substringAfter(String str, String separator); static Locale toLocale(String str); @SuppressWarnings("unchecked") static void mergePropertiesIntoMap(Properties props, Map map);  }