public class VerifyUtils extends Object
| Constructor and Description |
|---|
VerifyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmail(String mailAddress)
Return true if given number is an email address; false otherwise.
|
static boolean |
isIPAddress(String ipAddress)
Return true if given number is a IP address; false otherwise.
|
static boolean |
isMobileNumber(String mobileNumber)
Return true if given number is a mobile phone number; false otherwise.
|
public static boolean isMobileNumber(String mobileNumber)
mobileNumber - mobile phone number to be tested.public static boolean isEmail(String mailAddress)
mailAddress - Email address to be tested.public static boolean isIPAddress(String ipAddress)
ipAddress - IP address to be tested.Copyright © 2014. All rights reserved.