|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.kernel.util.Validator
public class Validator
Constructor Summary | |
---|---|
Validator()
|
Method Summary | |
---|---|
static boolean |
equals(boolean boolean1,
boolean boolean2)
|
static boolean |
equals(byte byte1,
byte byte2)
|
static boolean |
equals(char char1,
char char2)
|
static boolean |
equals(double double1,
double double2)
|
static boolean |
equals(float float1,
float float2)
|
static boolean |
equals(int int1,
int int2)
|
static boolean |
equals(long long1,
long long2)
|
static boolean |
equals(Object obj1,
Object obj2)
|
static boolean |
equals(short short1,
short short2)
|
static boolean |
isAddress(String address)
|
static boolean |
isAscii(char c)
|
static boolean |
isChar(char c)
Returns true if c is a letter between a-z and A-Z. |
static boolean |
isChar(String s)
Returns true if s is a string of letters that are between
a-z and A-Z. |
static boolean |
isDate(int month,
int day,
int year)
|
static boolean |
isDigit(char c)
Returns true if c is a digit between 0 and 9. |
static boolean |
isDigit(String s)
Returns true if s is a string of letters that are between 0
and 9. |
static boolean |
isDomain(String domainName)
|
static boolean |
isEmailAddress(String emailAddress)
|
static boolean |
isEmailAddressSpecialChar(char c)
|
static boolean |
isGregorianDate(int month,
int day,
int year)
|
static boolean |
isHex(String s)
|
static boolean |
isHTML(String s)
|
static boolean |
isIPAddress(String ipAddress)
|
static boolean |
isJulianDate(int month,
int day,
int year)
|
static boolean |
isLUHN(String number)
|
static boolean |
isName(String name)
|
static boolean |
isNotNull(Long l)
|
static boolean |
isNotNull(Object obj)
|
static boolean |
isNotNull(Object[] array)
|
static boolean |
isNotNull(String s)
|
static boolean |
isNull(Long l)
|
static boolean |
isNull(Object obj)
|
static boolean |
isNull(Object[] array)
|
static boolean |
isNull(String s)
|
static boolean |
isNumber(String number)
|
static boolean |
isPassword(String password)
|
static boolean |
isPhoneNumber(String phoneNumber)
|
static boolean |
isUrl(String url)
|
static boolean |
isVariableName(String variableName)
|
static boolean |
isVariableTerm(String s)
|
static boolean |
isWhitespace(char c)
|
static boolean |
isXml(String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Validator()
Method Detail |
---|
public static boolean equals(boolean boolean1, boolean boolean2)
public static boolean equals(byte byte1, byte byte2)
public static boolean equals(char char1, char char2)
public static boolean equals(double double1, double double2)
public static boolean equals(float float1, float float2)
public static boolean equals(int int1, int int2)
public static boolean equals(long long1, long long2)
public static boolean equals(Object obj1, Object obj2)
public static boolean equals(short short1, short short2)
public static boolean isAddress(String address)
public static boolean isAscii(char c)
public static boolean isChar(char c)
true
if c is a letter between a-z and A-Z.
true
if c is a letter between a-z and A-Zpublic static boolean isChar(String s)
true
if s is a string of letters that are between
a-z and A-Z.
true
if s is a string of letters that are between
a-z and A-Zpublic static boolean isDate(int month, int day, int year)
public static boolean isDigit(char c)
true
if c is a digit between 0 and 9.
true
if c is a digit between 0 and 9public static boolean isDigit(String s)
true
if s is a string of letters that are between 0
and 9.
true
if s is a string of letters that are between 0
and 9public static boolean isDomain(String domainName)
public static boolean isEmailAddress(String emailAddress)
public static boolean isEmailAddressSpecialChar(char c)
public static boolean isGregorianDate(int month, int day, int year)
public static boolean isHex(String s)
public static boolean isHTML(String s)
public static boolean isIPAddress(String ipAddress)
public static boolean isJulianDate(int month, int day, int year)
public static boolean isLUHN(String number)
public static boolean isName(String name)
public static boolean isNotNull(Long l)
public static boolean isNotNull(Object obj)
public static boolean isNotNull(Object[] array)
public static boolean isNotNull(String s)
public static boolean isNull(Long l)
public static boolean isNull(Object obj)
public static boolean isNull(Object[] array)
public static boolean isNull(String s)
public static boolean isNumber(String number)
public static boolean isPassword(String password)
public static boolean isPhoneNumber(String phoneNumber)
public static boolean isUrl(String url)
public static boolean isVariableName(String variableName)
public static boolean isVariableTerm(String s)
public static boolean isWhitespace(char c)
public static boolean isXml(String s)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |