Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 734 Rev 962
Line 61... Line 61...
61
		
61
		
62
		return lieuModele;
62
		return lieuModele;
Line 63... Line 63...
63
	}
63
	}
64
	
64
	
-
 
65
	public static String supprimerNumDepartementChaineLocalite(String chaineLocaliteComplete) {
-
 
66
		return chaineLocaliteComplete.replaceAll(" \\([0-9]*\\)", "");
-
 
67
	}
-
 
68
	
-
 
69
	public static String convertirChaineZoneGeoVersDepartement(String chaineZoneGeo) {
-
 
70
		return (!chaineZoneGeo.equals("000null") && !chaineZoneGeo.equals("")) ? chaineZoneGeo.replaceAll("INSEE-C:", "").substring(0, 2): chaineZoneGeo;
-
 
71
	}
-
 
72
	
65
	public static String supprimerNumDepartementChaineLocalite(String chaineLocaliteComplete) {
73
	public static String convertirChaineZoneGeoVersCodeInsee(String chaineZoneGeo) {
Line 66... Line 74...
66
		return chaineLocaliteComplete.replaceAll("\\([0-9][1-9]\\)", "");
74
		return (!chaineZoneGeo.equals("000null") && !chaineZoneGeo.equals("")) ? chaineZoneGeo.replaceAll("INSEE-C:", ""): chaineZoneGeo;
67
	}
75
	}
68
	
76