public final class RteGenericValidator extends Object implements Serializable
실제적인 validation check 로직을 수행한다. 주민등록번호, 한글체크 같은 Jakarta Commons Validator에서 제공되지 않는 validation rule을 추가로 제공하기 위해 작성되었다.
<< 개정이력(Modification Information) >> 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.05.30 함철 최초 생성 2011.09.23 이기하 isEnglish 메소드 추가 2013.03.22 한성곤 패스워드 관련 점검 메소드 추가, Serialized Form
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkCharacterType(String password)
패스워드 점검 : 한글,특수문자,띄어쓰기는 안됨
|
static boolean |
checkLength(String password)
패스워드 점검 : 8~20자 이내
|
static boolean |
checkSeries(String password)
패스워드 점검 : 연속된 문자나 순차적인 문자 4개이상 사용금지
|
static boolean |
isEnglish(String value)
영어여부 체크
|
static boolean |
isHtmlTag(String value)
Html tag 포함 여부
|
static boolean |
isKorean(String value)
한글여부 체크
|
static boolean |
isValidIdIhNum(String value)
주민등록번호 유효성 체크
|
public static boolean isValidIdIhNum(String value)
value - public static boolean isKorean(String value)
value - public static boolean isEnglish(String value)
value - public static boolean isHtmlTag(String value)
value - public static boolean checkLength(String password)
password - public static boolean checkCharacterType(String password)
password - public static boolean checkSeries(String password)
password - Copyright © 2015. All rights reserved.