public class IDValidation extends Object
| 构造器和说明 |
|---|
IDValidation() |
IDValidation(String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
Date |
getBirth() |
String |
getCity() |
int |
getCityCode() |
String |
getCounty() |
int |
getCountyCode() |
ErrorCode |
getErrorCode() |
String |
getErrorMsg() |
String |
getId() |
String |
getPath() |
String |
getProvince() |
int |
getProvinceCode() |
int |
getRegionVersion() |
Sex |
getSex() |
String |
getSexMsg() |
boolean |
isSuccess() |
void |
setPath(String path) |
boolean |
validate(String id)
验证方法
|
public IDValidation()
public IDValidation(String path)
public boolean validate(String id) throws IOException
id - 身份证号码IOExceptionpublic String getPath()
public void setPath(String path)
public String getId()
public boolean isSuccess()
public ErrorCode getErrorCode()
public String getErrorMsg()
public Date getBirth()
public Sex getSex()
public String getSexMsg()
public String getProvince()
public String getCity()
public String getCounty()
public int getProvinceCode()
public int getCityCode()
public int getCountyCode()
public int getRegionVersion()
Copyright © 2019. All rights reserved.