Here you can find the source of stringSplitter(String string)
public static List<String> stringSplitter(String string)
//package com.java2s; //License from project: Apache License import java.util.Arrays; import java.util.List; public class Main { /** Return a List with all words in a given String **/ public static List<String> stringSplitter(String string) { String[] words = string.split(" "); return Arrays.asList(words); }//w w w . ja v a2s. c o m }