public final class KladrCodeUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static long |
getCityCode(byte[] code) |
static int |
getCityId(byte[] code) |
static long |
getCountryCode(byte[] code) |
static int |
getCountryId(byte[] code) |
static int |
getDistrictCode(byte[] code) |
static int |
getDistrictId(byte[] code) |
static byte |
getRegionId(byte[] code) |
static long |
getStreetCode(byte[] code) |
static int |
getStreetId(byte[] code) |
static boolean |
isCityRegion(byte regionCode) |
static boolean |
isValid(byte[] code) |
public static boolean isValid(byte[] code)
public static byte getRegionId(byte[] code)
public static int getDistrictId(byte[] code)
public static int getDistrictCode(byte[] code)
public static int getCityId(byte[] code)
public static long getCityCode(byte[] code)
public static int getCountryId(byte[] code)
public static long getCountryCode(byte[] code)
public static int getStreetId(byte[] code)
public static long getStreetCode(byte[] code)
public static boolean isCityRegion(byte regionCode)