public class GeoCodeTransportMockRest extends Object implements IGeoCodeTransportProvider
| Constructor and Description |
|---|
GeoCodeTransportMockRest() |
| Modifier and Type | Method and Description |
|---|---|
City |
getCityByCodeAndDate(String strCityCode,
Date dateRef)
Get city by code and date.
|
Country |
getCountryByCodeAndDate(String strCountryCode,
Date dateRef)
Get country by code and date.
|
List<City> |
getListCitesByNameAndDate(String strCityName,
Date dateRef)
Get list of cites by exact name and date.
|
List<City> |
getListCitesByNameAndDateLike(String strCityName,
Date dateRef)
Get list of cites beginning with name and date.
|
List<Country> |
getListCountriesByNameAndDate(String strCountryName,
Date dateRef)
Get country by code and date.
|
public City getCityByCodeAndDate(String strCityCode, Date dateRef)
getCityByCodeAndDate in interface IGeoCodeTransportProviderstrCityCode - The code INSEE of the citydateRef - the date of validity of the citypublic List<City> getListCitesByNameAndDate(String strCityName, Date dateRef)
getListCitesByNameAndDate in interface IGeoCodeTransportProviderstrCityName - The name of the citydateRef - the date of validity of the citypublic List<City> getListCitesByNameAndDateLike(String strCityName, Date dateRef)
getListCitesByNameAndDateLike in interface IGeoCodeTransportProviderstrCityName - The name of the citydateRef - the date of validity of the citypublic Country getCountryByCodeAndDate(String strCountryCode, Date dateRef)
getCountryByCodeAndDate in interface IGeoCodeTransportProviderstrCountryCode - The code INSEE of the countrydateRef - the date of validity of the countrypublic List<Country> getListCountriesByNameAndDate(String strCountryName, Date dateRef) throws Exception
IGeoCodeTransportProvidergetListCountriesByNameAndDate in interface IGeoCodeTransportProviderstrCountryName - The name of the countrydateRef - the date of validity of the countryExceptionCopyright © 2024 City of Paris. All rights reserved.