ch.cern.mig.utils.StringUtils Maven / Gradle / Ivy
/**
* General String useful stuff.
*/
package ch.cern.mig.utils;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
/**
* Useful String utility.
*
* @author Massimo Paladin - [email protected]
* Copyright (C) CERN 2012-2013
*/
public class StringUtils {
public StringUtils() {
}
public static String join(Object[] arguments) {
return join(Arrays.asList(arguments));
}
public static String join(Object[] arguments, String glue) {
return join(Arrays.asList(arguments), glue);
}
public static String join(List