class NotificationHelper {

	public static String addrParams(String attribute, Collection<Address> addrs) {
		if (addrs == null || addrs.isEmpty()) {
			return "";
		}
		String[] params = new String[addrs.size()];
		int index = 0;
		Iterator<Address> it = addrs.iterator();
		while (it.hasNext()) {
			params[index++] = addrParam(attribute, it.next());
		}
		return multiParams(params);
	}

}