Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 596 Rev 633
Line 144... Line 144...
144
		String[] infosFichier = { nomFichier, dossierNv1, dossierNv2 };
144
		String[] infosFichier = { nomFichier, dossierNv1, dossierNv2 };
Line 145... Line 145...
145
		
145
		
146
		return infosFichier;
146
		return infosFichier;
Line -... Line 147...
-
 
147
	}
-
 
148
	
-
 
149
	private String getUrlFormat(String format) {
-
 
150
		
-
 
151
		String[] infosFichier = getBaseFileName();
-
 
152
 
-
 
153
		return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/"+format+"/"
-
 
154
				+ infosFichier[0] + "_"+format+".jpg";
147
	}
155
	}
148
	
156
	
149
	/**
157
	/**
150
	 * Renvoie le chemin et nom du fichier format original
158
	 * Renvoie le chemin et nom du fichier format original
151
	 * 
159
	 * 
152
	 * @return le chemin du fichier grand original
160
	 * @return le chemin du fichier grand original
153
	 */
-
 
154
	public String getOUrl() {
-
 
Line 155... Line 161...
155
 
161
	 */
156
		String[] infosFichier = getBaseFileName();
-
 
157
 
162
	public String getUrlFormatOriginal() {
Line 158... Line 163...
158
		return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/O/"
163
 
159
				+ infosFichier[0] + "_O.jpg";
164
		return getUrlFormat(Configuration.getFormatOriginal());
160
	}
165
	}
161
 
166
 
162
	/**
167
	/**
163
	 * Renvoie le chemin et nom du fichier grand format
168
	 * Renvoie le chemin et nom du fichier grand format
Line 164... Line 169...
164
	 * 
169
	 * 
165
	 * @return le chemin du fichier grand format
-
 
166
	 */
-
 
167
	public String getLUrl() {
-
 
168
 
170
	 * @return le chemin du fichier grand format
Line 169... Line 171...
169
		String[] infosFichier = getBaseFileName();
171
	 */
170
 
172
	public String getUrlFormatZoom() {
171
		return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/X3L/"
173
 
172
				+ infosFichier[0] + "_X3L.jpg";
174
		return getUrlFormat(Configuration.getFormatZoom());
173
	}
175
	}
174
 
176
 
175
	/**
-
 
176
	 * Renvoie le chemin et nom du fichier petit format
-
 
Line 177... Line 177...
177
	 * 
177
	/**
178
	 * @return le chemin du fichier petit format
-
 
179
	 */
178
	 * Renvoie le chemin et nom du fichier petit format
Line 180... Line 179...
180
	public String getSUrl() {
179
	 * 
181
 
180
	 * @return le chemin du fichier petit format
182
		String[] infosFichier = getBaseFileName();
181
	 */
183
 
182
	public String getUrlFormatGalerie() {
184
		return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/S/"
183
 
185
				+ infosFichier[0] + "_S.jpg";
184
		return getUrlFormat(Configuration.getFormatGalerie());
Line 186... Line 185...
186
	}
185
	}
187
 
-
 
188
	/**
-
 
189
	 * Renvoie le chemin et nom du fichier moyen format
-
 
190
	 * 
186
 
Line 191... Line 187...
191
	 * @return le chemin du fichier moyen format
187
	/**
192
	 */
188
	 * Renvoie le chemin et nom du fichier moyen format
193
	public String getMUrl() {
189
	 * 
Line 394... Line 390...
394
	public String getNomOriginal() {
390
	public String getNomOriginal() {
395
		return renvoyerValeurCorrecte("ci_nom_original");
391
		return renvoyerValeurCorrecte("ci_nom_original");
396
	}
392
	}
Line 397... Line 393...
397
	
393
	
-
 
394
	public String getIdsObsAssociees() {
398
	public String getIdsObsAssociees() {
395
		
-
 
396
		String observationsAssociees = renvoyerValeurCorrecte("ci_ce_observation");
-
 
397
		observationsAssociees = observationsAssociees.replaceAll("null", "");
-
 
398
		
399
		return renvoyerValeurCorrecte("ci_ce_observation");
399
		return observationsAssociees;
Line 400... Line 400...
400
	}
400
	}