Rev 260 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client.util;import java.awt.List;import java.util.Iterator;import java.util.LinkedList;public class UtilTruk {/*** Traite une liste récupéré de truk et renvoie une chaîne de caractère formatée** @param la liste truk* @param le séparateur pour chaque valeur* */public static String traiterTrukListe(LinkedList<String> listTruk, String separateur) {String listeRetour = "";Iterator<String> it = listTruk.iterator();while (it.hasNext()) {String valeurCourante = it.next();listeRetour += valeurCourante;if (it.hasNext()) {listeRetour += separateur;}}return listeRetour;}/*** Crée un composant FieldLabel pour chaque champ de la map et l'ajoute au container passé en parametre** @param container* @param la map*/public static void ajouterFieldSetParMap(Widget) {}}