public class ValueChecker
extends java.lang.Object
Constructor and Description |
---|
ValueChecker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isComplex(java.lang.String pasw)
This static method check if pasword string is contain letter, digit, other chars and return boolean
|
static boolean |
isEmailAddress(java.lang.String email)
This static method check if email string is an e-mail address and return boolean
|
static boolean |
isMoreComplex(java.lang.String pasw)
This static method check if pasword string is contain upper case, lower case, digit, other chars and return boolean
|
static boolean |
isNumeric(java.lang.String pasw)
This static method check if given string is numeric and return boolean.
|
static boolean |
isNumLocal(java.lang.String pasw,
java.util.Locale loc)
This static method check if given string is locally numeric and return boolean.
|
static java.lang.String |
remUnvChr(java.lang.String value)
This static method eliminate unwanted characters from string value.
|
static java.lang.String |
remUnvChr4Log(java.lang.String value)
This static method eliminate unwanted characters from string value for logging.
|
public static boolean isNumeric(java.lang.String pasw)
pasw
- String parameterpublic static boolean isNumLocal(java.lang.String pasw, java.util.Locale loc)
pasw
- String parameterloc
- Locale instancepublic static boolean isComplex(java.lang.String pasw)
pasw
- password stringpublic static boolean isMoreComplex(java.lang.String pasw)
pasw
- password stringpublic static boolean isEmailAddress(java.lang.String email)
email
- e-mail stringpublic static java.lang.String remUnvChr(java.lang.String value)
value
- string that will be eliminated.public static java.lang.String remUnvChr4Log(java.lang.String value)
value
- string that will be eliminated.