84,6 → 84,10 |
} |
|
protected String construireTxtTruck(String chaineAAnalyser) { |
return construireTxtTruck(chaineAAnalyser, true); |
} |
|
protected String construireTxtTruck(String chaineAAnalyser, boolean ucFirst) { |
ArrayList<String> termes = new ArrayList<String>(); |
|
if ((chaineAAnalyser != null) && (!chaineAAnalyser.trim().equals(""))) { |
98,7 → 102,7 |
} |
} |
|
String chaineARetourner = formaterTableauDeTxt(termes); |
String chaineARetourner = formaterTableauDeTxt(termes, ucFirst); |
return chaineARetourner; |
} |
|
124,7 → 128,7 |
return chaineAAfficher; |
} |
|
protected String formaterTableauDeTxt(ArrayList<String> tableauDeTxt) { |
protected String formaterTableauDeTxt(ArrayList<String> tableauDeTxt, boolean ucFirst) { |
String chaineAAfficher = ""; |
int tailleDuTableau = tableauDeTxt.size(); |
if (tailleDuTableau > 0) { |
138,7 → 142,8 |
} |
} |
} |
return UtilString.ucFirst(chaineAAfficher); |
if (ucFirst) return UtilString.ucFirst(chaineAAfficher); |
else return chaineAAfficher; |
} |
|
protected String nettoyerPointFinal(String mot) { |
297,8 → 302,8 |
} |
} |
|
String chaineTermes = formaterTableauDeTxt(termes); |
String chaineAutres = formaterTableauDeTxt(autres); |
String chaineTermes = formaterTableauDeTxt(termes, true); |
String chaineAutres = formaterTableauDeTxt(autres, true); |
String chaineARetourner = chaineTermes+formaterAutre(chaineAutres); |
|
return chaineARetourner; |
Property changes: |
Modified: svn:mergeinfo |
Merged /branches/v1.0-syrah/src/org/tela_botanica/client/vues/DetailVue.java:r1292-1368 |