Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 633 → Rev 610

/trunk/src/org/tela_botanica/client/modeles/ImageCarnet.java
146,22 → 146,17
return infosFichier;
}
private String getUrlFormat(String format) {
String[] infosFichier = getBaseFileName();
 
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/"+format+"/"
+ infosFichier[0] + "_"+format+".jpg";
}
/**
* Renvoie le chemin et nom du fichier format original
*
* @return le chemin du fichier grand original
*/
public String getUrlFormatOriginal() {
public String getOUrl() {
 
return getUrlFormat(Configuration.getFormatOriginal());
String[] infosFichier = getBaseFileName();
 
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/O/"
+ infosFichier[0] + "_O.jpg";
}
 
/**
169,9 → 164,12
*
* @return le chemin du fichier grand format
*/
public String getUrlFormatZoom() {
public String getLUrl() {
 
return getUrlFormat(Configuration.getFormatZoom());
String[] infosFichier = getBaseFileName();
 
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/X3L/"
+ infosFichier[0] + "_X3L.jpg";
}
 
/**
179,9 → 177,12
*
* @return le chemin du fichier petit format
*/
public String getUrlFormatGalerie() {
public String getSUrl() {
 
return getUrlFormat(Configuration.getFormatGalerie());
String[] infosFichier = getBaseFileName();
 
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/S/"
+ infosFichier[0] + "_S.jpg";
}
 
/**
189,9 → 190,12
*
* @return le chemin du fichier moyen format
*/
public String getUrlFormatListe() {
public String getMUrl() {
 
return getUrlFormat(Configuration.getFormatListe());
String[] infosFichier = getBaseFileName();
 
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/M/"
+ infosFichier[0] + "_M.jpg";
}
 
/**
392,11 → 396,7
}
public String getIdsObsAssociees() {
String observationsAssociees = renvoyerValeurCorrecte("ci_ce_observation");
observationsAssociees = observationsAssociees.replaceAll("null", "");
return observationsAssociees;
return renvoyerValeurCorrecte("ci_ce_observation");
}
 
}