public class GeoCodeTransportRest extends AbstractTransportRest implements IGeoCodeTransportProvider
| Constructor and Description |
|---|
GeoCodeTransportRest()
Simple Constructor
|
GeoCodeTransportRest(IHttpTransportProvider httpTransport)
Constructor with IHttpTransportProvider parameter
|
| 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.
|
setHttpTransportpublic GeoCodeTransportRest()
public GeoCodeTransportRest(IHttpTransportProvider httpTransport)
httpTransport - the provider to usepublic City getCityByCodeAndDate(String strCityCode, Date dateRef) throws Exception
getCityByCodeAndDate in interface IGeoCodeTransportProviderstrCityCode - The code INSEE of the citydateRef - the date of validity of the cityExceptionpublic List<City> getListCitesByNameAndDate(String strCityName, Date dateRef) throws Exception
getListCitesByNameAndDate in interface IGeoCodeTransportProviderstrCityName - The name of the citydateRef - the date of validity of the cityExceptionpublic List<City> getListCitesByNameAndDateLike(String strCityName, Date dateRef) throws Exception
getListCitesByNameAndDateLike in interface IGeoCodeTransportProviderstrCityName - The name of the citydateRef - the date of validity of the cityExceptionpublic Country getCountryByCodeAndDate(String strCountryCode, Date dateRef) throws Exception
getCountryByCodeAndDate in interface IGeoCodeTransportProviderstrCountryCode - The code INSEE of the countrydateRef - the date of validity of the countryExceptionpublic List<Country> getListCountriesByNameAndDate(String strCountryName, Date dateRef) throws Exception
getListCountriesByNameAndDate in interface IGeoCodeTransportProviderstrCountryName - The name of the countrydateRef - the date of validity of the countryExceptionCopyright © 2024 City of Paris. All rights reserved.