Esempio n. 1
0
 /** @deprecated */
 public String getTerms(String format) {
   List<SearchTerm> l = getTerms();
   StringBuilder sb = new StringBuilder();
   for (Iterator li = l.iterator(); li.hasNext(); ) {
     SearchTerm t = (SearchTerm) li.next();
     sb.append(MessageFormat.format(format, new Object[] {t.getName(), t.getWeight()}));
   }
   return sb.toString();
 }