public static void main(String[] agrs){
String[] array={"1","2","","3"};
System.out.println(org.apache.commons.lang.StringUtils.join(array,"|"));
List list = new ArrayList<String>();
list.add("1");
list.add("2");
list.add("");
list.add("3");
System.out.println(org.apache.commons.lang.StringUtils.join(list.toArray(),"|"));