1.List转换成字符串并加入分隔符
public String listToString(List list, char separator) { return org.apache.commons.lang.StringUtils.join(list.toArray(),separator); }
1.List转换成字符串并加入分隔符
public String listToString(List list, char separator) { return org.apache.commons.lang.StringUtils.join(list.toArray(),separator); }