/trunk/src/org/tela_botanica/del/client/utils/UtilitairesServiceResultat.java |
---|
595,4 → 595,16 |
return observation; |
} |
public static List<String> parserRetourListeMotsClesImage(JSONObject retourJson) { |
List<String> motsCles = new ArrayList<String>(); |
JSONObject tableauMc = retourJson; |
if (tableauMc != null) { |
java.util.Iterator<String> it = tableauMc.keySet().iterator(); |
while (it.hasNext()) { |
JSONObject mc = tableauMc.get(it.next()).isObject(); |
motsCles.add(getValeurOuVide(mc, "mot_cle")); |
} |
} |
return motsCles; |
} |
} |