Package rife.validation
Class ValidityChecks
java.lang.Object
rife.validation.ValidityChecks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckEmail(CharSequence value) static booleancheckEqual(boolean value, boolean reference) static booleancheckEqual(byte value, byte reference) static booleancheckEqual(char value, char reference) static booleancheckEqual(double value, double reference) static booleancheckEqual(float value, float reference) static booleancheckEqual(int value, int reference) static booleancheckEqual(long value, long reference) static booleancheckEqual(short value, short reference) static booleancheckEqual(Object value, Object reference) static booleancheckFormat(Object value, Format format) static booleancheckInList(Object value, String[] list) static booleancheckJavaIdentifier(Object value) static booleancheckJavaPackage(Object value) static booleancheckLaterThanNow(Date value) static booleancheckLength(byte value, int min, int max) static booleancheckLength(char value, int min, int max) static booleancheckLength(double value, int min, int max) static booleancheckLength(float value, int min, int max) static booleancheckLength(int value, int min, int max) static booleancheckLength(long value, int min, int max) static booleancheckLength(short value, int min, int max) static booleancheckLength(CharSequence value, int min, int max) static booleancheckLimitedDate(Object value, Date min, Date max) static booleancheckNotBlank(CharSequence value) static booleancheckNotEmpty(byte value) static booleancheckNotEmpty(char value) static booleancheckNotEmpty(double value) static booleancheckNotEmpty(float value) static booleancheckNotEmpty(int value) static booleancheckNotEmpty(long value) static booleancheckNotEmpty(short value) static booleancheckNotEmpty(Byte value) static booleancheckNotEmpty(Character value) static booleancheckNotEmpty(CharSequence value) static booleancheckNotEmpty(Double value) static booleancheckNotEmpty(Float value) static booleancheckNotEmpty(Integer value) static booleancheckNotEmpty(Long value) static booleancheckNotEmpty(Object value) static booleancheckNotEmpty(Short value) static booleancheckNotEqual(boolean value, boolean reference) static booleancheckNotEqual(byte value, byte reference) static booleancheckNotEqual(char value, char reference) static booleancheckNotEqual(double value, double reference) static booleancheckNotEqual(float value, float reference) static booleancheckNotEqual(int value, int reference) static booleancheckNotEqual(long value, long reference) static booleancheckNotEqual(short value, short reference) static booleancheckNotEqual(Object value, Object reference) static booleancheckNotNull(Object value) static booleancheckRange(byte value, byte begin, byte end) static booleancheckRange(char value, char begin, char end) static booleancheckRange(double value, double begin, double end) static booleancheckRange(float value, float begin, float end) static booleancheckRange(int value, int begin, int end) static booleancheckRange(long value, long begin, long end) static booleancheckRange(short value, short begin, short end) static booleancheckRange(Object value, Comparable begin, Comparable end) static booleancheckRegexp(CharSequence value, String pattern) static booleancheckUrl(CharSequence value) static booleanisJavaKeyword(Object value)
-
Constructor Details
-
ValidityChecks
public ValidityChecks()
-
-
Method Details
-
checkNotNull
-
checkNotEmpty
-
checkNotBlank
-
checkNotEmpty
-
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(char value) -
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(byte value) -
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(short value) -
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(int value) -
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(long value) -
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(float value) -
checkNotEmpty
-
checkNotEmpty
public static boolean checkNotEmpty(double value) -
checkNotEqual
public static boolean checkNotEqual(boolean value, boolean reference) -
checkNotEqual
public static boolean checkNotEqual(byte value, byte reference) -
checkNotEqual
public static boolean checkNotEqual(char value, char reference) -
checkNotEqual
public static boolean checkNotEqual(short value, short reference) -
checkNotEqual
public static boolean checkNotEqual(int value, int reference) -
checkNotEqual
public static boolean checkNotEqual(long value, long reference) -
checkNotEqual
public static boolean checkNotEqual(float value, float reference) -
checkNotEqual
public static boolean checkNotEqual(double value, double reference) -
checkNotEqual
-
checkEqual
public static boolean checkEqual(boolean value, boolean reference) -
checkEqual
public static boolean checkEqual(byte value, byte reference) -
checkEqual
public static boolean checkEqual(char value, char reference) -
checkEqual
public static boolean checkEqual(short value, short reference) -
checkEqual
public static boolean checkEqual(int value, int reference) -
checkEqual
public static boolean checkEqual(long value, long reference) -
checkEqual
public static boolean checkEqual(float value, float reference) -
checkEqual
public static boolean checkEqual(double value, double reference) -
checkEqual
-
checkLength
public static boolean checkLength(byte value, int min, int max) -
checkLength
public static boolean checkLength(char value, int min, int max) -
checkLength
public static boolean checkLength(short value, int min, int max) -
checkLength
public static boolean checkLength(int value, int min, int max) -
checkLength
public static boolean checkLength(long value, int min, int max) -
checkLength
public static boolean checkLength(float value, int min, int max) -
checkLength
public static boolean checkLength(double value, int min, int max) -
checkLength
-
checkRegexp
-
checkEmail
-
checkUrl
-
checkLaterThanNow
-
checkLimitedDate
-
checkInList
-
checkRange
public static boolean checkRange(byte value, byte begin, byte end) -
checkRange
public static boolean checkRange(char value, char begin, char end) -
checkRange
public static boolean checkRange(short value, short begin, short end) -
checkRange
public static boolean checkRange(int value, int begin, int end) -
checkRange
public static boolean checkRange(long value, long begin, long end) -
checkRange
public static boolean checkRange(float value, float begin, float end) -
checkRange
public static boolean checkRange(double value, double begin, double end) -
checkRange
-
checkFormat
-
checkJavaPackage
-
isJavaKeyword
-
checkJavaIdentifier
-