Getting Started With Google Guava--Basic Guava Utilities
使用Joiner典型的使用原生的java处理拼接字符串的方法:publicStringbuildString(ListstringList,Stringdelimiter){StringBuilderbuilder=newStringBuilder();for(Strings:stringList){if(s!=null){builder.append(s).append(delimiter);}