Class StringUtil


  • public class StringUtil
    extends Object
    • Constructor Detail

      • StringUtil

        public StringUtil()
    • Method Detail

      • joinStringList

        public static String joinStringList​(Collection<String> strList,
                                            String delimit)
        Convert a list of Strings into a single String
        Parameters:
        strList - the string list
        delimit - the delimiter used to separate each string entry in the list
        Returns:
        the converted string
      • splitStringList

        public static List<String> splitStringList​(String strList,
                                                   String delimit)
        Convert a String into a list of String
        Parameters:
        strList - the String
        delimit - used to separate items within the string.
        Returns:
        the string list