Back to project page Validation-EditText.
The source code is released under:
MIT License
If you think the Android project Validation-EditText listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2014 Jinsik Kim//from w w w . ja v a2s . c o m * */ package destiny738.tistory.com.validation; /** * ValidationType.java * * This class has constant integer variables for selecting regular expression. * I say these constant integer to selector. * I make selector for e-mail, URL and number. Each number does not have meaning, just dummy. * If you want to have more patterns, you just register new selections. * And If you add a new selection, then you define a pattern in ValidationType.java * and use this in ValidationEditText.java. */ class ValidationType { final static int VALIDATION_EMAIL = 3250; final static int VALIDATION_URL = 3251; final static int VALIDATION_NUMBER = 3252; }