class LangUtils {

    public static String enquoteAndJoin(Iterable<String> list,
            String separator, String prefix, String suffix) {
        StringBuilder s = new StringBuilder();
        String sep = "";
        for (String item: list) {
            s.append(sep).append(prefix).append(item).append(suffix);
            sep = separator;
        }
        return s.toString();
    }

}