private <T extends Enum<T>> String getPropertyValue(T algo) { StringBuilder strb = new StringBuilder(); for (T it : active.algos(algo)) { strb.append(it.name()); strb.append(';'); } return strb.toString(); }
public static <T extends Enum<T>> String getPropertyID(T algo) { Class<T> clazz = algo.getDeclaringClass(); return "net.java.sip.communicator." + clazz.getName().replace('$', '_'); }