19 package org.sleuthkit.datamodel;
21 import java.util.Collection;
26 final class StringUtils {
28 private StringUtils() {
38 static <T> String buildCSVString(Collection<T> values) {
39 return joinAsStrings(values,
",");
53 static <T> String joinAsStrings(Collection<T> values, String separator) {
54 if (values == null || values.isEmpty()) {
57 return org.apache.commons.lang3.StringUtils.join(values, separator);
60 static String deleteWhitespace(String result) {
61 return org.apache.commons.lang3.StringUtils.deleteWhitespace(result);