public class RegionDataCrawler extends Object
loadCountry()loadProv(int provCode)loadCity(int cityCode)| Modifier and Type | Field and Description |
|---|---|
static int |
COUNTRY_CODE |
| Constructor and Description |
|---|
RegionDataCrawler(RegionDataOutput regionOutput,
String amapKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadCity(int cityCode) |
void |
loadCountry() |
void |
loadProv(int provCode) |
public static final int COUNTRY_CODE
public RegionDataCrawler(RegionDataOutput regionOutput, String amapKey) throws IOException
IOExceptionpublic void loadCountry()
throws GetRegionException
GetRegionExceptionpublic void loadProv(int provCode)
throws GetRegionException
GetRegionExceptionpublic void loadCity(int cityCode)
throws GetRegionException
GetRegionExceptionCopyright © 2019. All rights reserved.