Subversion Repositories eFlore/Applications.del

Rev

Rev 1131 | Rev 1162 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1131 Rev 1151
Line 593... Line 593...
593
		observation.setImages(imagesPourObs);
593
		observation.setImages(imagesPourObs);
Line 594... Line 594...
594
 
594
 
595
		return observation;
595
		return observation;
Line -... Line 596...
-
 
596
	}
-
 
597
 
-
 
598
	public static List<String> parserRetourListeMotsClesImage(JSONObject retourJson) {
-
 
599
		List<String> motsCles = new ArrayList<String>();
-
 
600
		JSONObject tableauMc = retourJson;
-
 
601
		if (tableauMc != null) {
-
 
602
			java.util.Iterator<String> it = tableauMc.keySet().iterator();
-
 
603
			while (it.hasNext()) {
-
 
604
				JSONObject mc = tableauMc.get(it.next()).isObject();
-
 
605
				motsCles.add(getValeurOuVide(mc, "mot_cle"));
-
 
606
			}
-
 
607
		}
596
	}
608
		return motsCles;