532 |
jpm |
1 |
package org.tela_botanica.del.client.config;
|
|
|
2 |
|
|
|
3 |
import com.google.gwt.i18n.client.Dictionary;
|
|
|
4 |
|
|
|
5 |
/**
|
|
|
6 |
* Classe chargeant certains paramètres de configuration à partir d'un fichier
|
|
|
7 |
* javascript (war/config/apropos.js)
|
|
|
8 |
*
|
|
|
9 |
* @author Jean-Pascal MILCENT
|
|
|
10 |
*
|
|
|
11 |
*/
|
|
|
12 |
public class APropos {
|
|
|
13 |
|
|
|
14 |
private String appliNom;
|
|
|
15 |
private String appliCode;
|
|
|
16 |
private String appliVersionNom;
|
|
|
17 |
private String appliVersionCode;
|
|
|
18 |
private String developpeurs;
|
|
|
19 |
private String traducteurs;
|
|
|
20 |
private String testeurs;
|
|
|
21 |
private String licence;
|
|
|
22 |
|
|
|
23 |
private String dateHeureCompilation;
|
|
|
24 |
private String revisionGlobale;
|
|
|
25 |
private String revisionGlobaleServices;
|
|
|
26 |
private String versionJavaCompilation;
|
|
|
27 |
|
|
|
28 |
public APropos() {
|
|
|
29 |
// on utilise le dictionnaire d'internationalisation pour lire les variables du fichier javascript
|
|
|
30 |
Dictionary apropos = Dictionary.getDictionary("apropos");
|
|
|
31 |
appliNom = apropos.get("appliNom");
|
|
|
32 |
appliCode = apropos.get("appliCode");
|
|
|
33 |
appliVersionNom = apropos.get("appliVersionNom");
|
|
|
34 |
appliVersionCode = apropos.get("appliVersionCode");
|
|
|
35 |
developpeurs = apropos.get("developpeurs");
|
|
|
36 |
testeurs = apropos.get("testeurs");
|
|
|
37 |
traducteurs = apropos.get("traducteurs");
|
|
|
38 |
licence = apropos.get("licence");
|
|
|
39 |
dateHeureCompilation = apropos.get("dateHeureCompilation");
|
|
|
40 |
revisionGlobale = apropos.get("revisionGlobale");
|
|
|
41 |
revisionGlobaleServices = apropos.get("revisionGlobaleServices");
|
|
|
42 |
versionJavaCompilation = apropos.get("versionJavaCompilation");
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
public String getAppliNom() {
|
|
|
46 |
return appliNom;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
public String getAppliCode() {
|
|
|
50 |
return appliCode;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
public String getAppliVersionNom() {
|
|
|
54 |
return appliVersionNom;
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
public String getAppliVersionCode() {
|
|
|
58 |
return appliVersionCode;
|
|
|
59 |
}
|
|
|
60 |
|
|
|
61 |
public String getDeveloppeurs() {
|
|
|
62 |
return developpeurs;
|
|
|
63 |
}
|
|
|
64 |
|
|
|
65 |
public String getTraducteurs() {
|
|
|
66 |
return traducteurs;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
public String getLicence() {
|
|
|
70 |
return licence;
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
public String getDateHeureCompilation() {
|
|
|
74 |
return dateHeureCompilation;
|
|
|
75 |
}
|
|
|
76 |
|
|
|
77 |
public String getRevisionGlobale() {
|
|
|
78 |
return revisionGlobale;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
public String getRevisionGlobaleServices() {
|
|
|
82 |
return revisionGlobaleServices;
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
public String getVersionJavaCompilation() {
|
|
|
86 |
return versionJavaCompilation;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
public String getTesteurs() {
|
|
|
90 |
return testeurs;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
}
|