@@ -0,0 +1,1964 @@
+package com.nucleus.common;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.StringTokenizer;%0A%0Apublic class StringUtils %7B%0A%0A    protected final static String DEFAULT_DELIMITER = %22,%22;%0A%0A    /**%0A     * Returns the string as a String%5B%5D, delimetered by ','%0A     * %0A     * @param str%0A     * @return%0A     */%0A    public static String%5B%5D getStringArray(String str) %7B%0A        ArrayList%3CString%3E resultList = getArrayList(str, DEFAULT_DELIMITER);%0A        String%5B%5D result = new String%5BresultList.size()%5D;%0A        int index = 0;%0A        for (String s : resultList) %7B%0A            result%5Bindex++%5D = s;%0A        %7D%0A        return result;%0A    %7D%0A%0A    public static ArrayList%3CString%3E getArrayList(String str, String delimiter) %7B%0A        ArrayList%3CString%3E resultList = new ArrayList%3CString%3E();%0A        StringTokenizer st = new StringTokenizer(str, delimiter);%0A        while (st.hasMoreTokens()) %7B%0A            resultList.add(st.nextToken());%0A        %7D%0A        return resultList;%0A    %7D%0A%0A    public static float%5B%5D getFloatArray(String str) %7B%0A        ArrayList%3CString%3E resultList = getArrayList(str, DEFAULT_DELIMITER);%0A        float%5B%5D result = new float%5BresultList.size()%5D;%0A        int index = 0;%0A        for (String s : resultList) %7B%0A            result%5Bindex++%5D = Float.parseFloat(s);%0A        %7D%0A        return result;%0A    %7D%0A%0A    public static int%5B%5D getIntArray(String str) %7B%0A        ArrayList%3CString%3E resultList = getArrayList(str, DEFAULT_DELIMITER);%0A        int%5B%5D result = new int%5BresultList.size()%5D;%0A        int index = 0;%0A        for (String s : resultList) %7B%0A            result%5Bindex++%5D = Integer.parseInt(s);%0A        %7D%0A        return result;%0A    %7D%0A%0A    public static short%5B%5D getShortArray(String str) %7B%0A        ArrayList%3CString%3E resultList = getArrayList(str, DEFAULT_DELIMITER);%0A        short%5B%5D result = new short%5BresultList.size()%5D;%0A        int index = 0;%0A        for (String s : resultList) %7B%0A            result%5Bindex++%5D = Short.parseShort(s);%0A        %7D%0A        return result;%0A    %7D%0A%7D%0A

Add string utils class