Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 732 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 732 Bytes

validator

Build Status Coverage Status

validator for Java , inspired by chriso's validator.js

Examples

import com.rockson.validator.Validator;

public void test(){
	Validator.isURL("http://www.google.com")); //should to be true
	Validator.isEmail("[email protected]"));	//should to be true
	Validator.isFQDN("www.google.com"));	//should to be true
	Validator.md5("hello"));				//should to be 5d41402abc4b2a76b9719d911017c592
}

##License (MIT)