146,17 → 146,22 |
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 getOUrl() { |
public String getUrlFormatOriginal() { |
|
String[] infosFichier = getBaseFileName(); |
|
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/O/" |
+ infosFichier[0] + "_O.jpg"; |
return getUrlFormat(Configuration.getFormatOriginal()); |
} |
|
/** |
164,12 → 169,9 |
* |
* @return le chemin du fichier grand format |
*/ |
public String getLUrl() { |
public String getUrlFormatZoom() { |
|
String[] infosFichier = getBaseFileName(); |
|
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/X3L/" |
+ infosFichier[0] + "_X3L.jpg"; |
return getUrlFormat(Configuration.getFormatZoom()); |
} |
|
/** |
177,12 → 179,9 |
* |
* @return le chemin du fichier petit format |
*/ |
public String getSUrl() { |
public String getUrlFormatGalerie() { |
|
String[] infosFichier = getBaseFileName(); |
|
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/S/" |
+ infosFichier[0] + "_S.jpg"; |
return getUrlFormat(Configuration.getFormatGalerie()); |
} |
|
/** |
190,12 → 189,9 |
* |
* @return le chemin du fichier moyen format |
*/ |
public String getMUrl() { |
public String getUrlFormatListe() { |
|
String[] infosFichier = getBaseFileName(); |
|
return getBaseUrl() + infosFichier[1] + "/" + infosFichier[2] + "/M/" |
+ infosFichier[0] + "_M.jpg"; |
return getUrlFormat(Configuration.getFormatListe()); |
} |
|
/** |
396,7 → 392,11 |
} |
|
public String getIdsObsAssociees() { |
return renvoyerValeurCorrecte("ci_ce_observation"); |
|
String observationsAssociees = renvoyerValeurCorrecte("ci_ce_observation"); |
observationsAssociees = observationsAssociees.replaceAll("null", ""); |
|
return observationsAssociees; |
} |
|
} |