Subversion Repositories eFlore/Archives.cel-v1

Rev

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

Rev 26 Rev 27
Line 98... Line 98...
98
			    						public void onCompletion(String str) {
98
			    						public void onCompletion(String str) {
Line 99... Line 99...
99
			    							
99
			    							
100
			    								JSONValue jsonValue = JSONParser.parse(str);
100
			    								JSONValue jsonValue = JSONParser.parse(str);
101
			    								JSONArray jsonArray;
101
			    								JSONArray jsonArray;
102
			    								if ((jsonArray = jsonValue.isArray()) != null) {
102
			    								if ((jsonArray = jsonValue.isArray()) != null) {
103
			    									user = ((JSONString) jsonArray.get(0)).stringValue(); // Identifiant utilisateur : identifant de session
103
			    									user = Util.toCelString(((JSONString) jsonArray.get(0)).toString()); // Identifiant utilisateur : identifant de session
104
			    									mediator.setConnected(((JSONBoolean) jsonArray.get(1)).booleanValue());
104
			    									mediator.setConnected(((JSONBoolean) jsonArray.get(1)).booleanValue());
Line 105... Line 105...
105
			    								}
105
			    								}
106
 
106
 
Line 130... Line 130...
130
  
130
  
Line 131... Line 131...
131
}
131
}
132
 
132
 
-
 
133
 
-
 
134
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
135
* $Log$
133
 
136
* Revision 1.5  2007-09-17 19:25:34  ddelon
134
/* +--Fin du code ---------------------------------------------------------------------------------------+
137
* Documentation