18 package org.turro.mail.recipients;
20 import org.turro.string.Strings;
21 import org.turro.action.Contacts;
22 import org.turro.elephant.security.IUser;
23 import org.turro.plugin.contacts.IContact;
31 public static String
createLink(String text, String path,
boolean live) {
32 if(!Strings.isBlank(text)) {
33 StringBuilder sb =
new StringBuilder((live ?
"{livelink:" :
"{link:"));
34 sb.append(text.replaceAll(
"\\:",
":").replaceAll(
"\\}",
"&endkey;"));
35 if(!Strings.isBlank(path)) {