public static String toUnicodeString(Address[] addresses) {
return toUnicodeString((InternetAddress[])addresses);
}
public static String toUnicodeString(InternetAddress[] addresses) {
FastStringBuffer sb = new FastStringBuffer();
if (addresses != null) {
for (int i = 0; i < addresses.length; i++) {
if (addresses[i] != null) {
sb.append(addresses[i].toUnicodeString());
}
if ((i + 1) != addresses.length) {
sb.append(", ");
}
}
}
return sb.toString();
}