public class AddressSupport extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
getAddressExt(int countyCode)
获取三级地址
|
static String |
getCityName(int cityCode)
获取市名称
|
static String |
getCountyAddress(int countyCode)
获取县地址
|
static String |
getCountyName(int countyCode)
获取县名称
|
static String |
getProvinceName(int provinceCode)
获取省名称
|
static Integer |
getSupportCountyCode(int countyCode)
获取支持的县code
|
static String |
getSupportCountyName(int countyCode)
获取支持的县名称
|
static String[] |
randomAddressExt()
获取三级地址
|
static Integer |
randomCityCode() |
static Integer |
randomCityCode(int provinceCode)
随机获取一位市级码
|
static String |
randomCountyAddress()
随机获县地址
|
static Integer |
randomCountyCode() |
static Integer |
randomCountyCode(int cityCode)
随机获取一位县级码
|
static Integer |
randomProvinceCode()
随机获取一位省级码
|
public static Integer randomProvinceCode()
public static Integer randomCityCode()
public static Integer randomCityCode(int provinceCode)
provinceCode
- 市编码public static Integer randomCountyCode()
public static Integer randomCountyCode(int cityCode)
public static String getProvinceName(int provinceCode)
provinceCode
- provinceCodepublic static String getCityName(int cityCode)
cityCode
- cityCodepublic static String getCountyName(int countyCode)
countyCode
- countyCodepublic static String getSupportCountyName(int countyCode)
countyCode
- countyCodepublic static Integer getSupportCountyCode(int countyCode)
countyCode
- countyCodepublic static String randomCountyAddress()
public static String[] randomAddressExt()
public static String[] getAddressExt(int countyCode)
countyCode
- countyCodepublic static String getCountyAddress(int countyCode)
countyCode
- countyCodeCopyright © 2024. All rights reserved.