Package rife.validation
Class ValidityChecks
java.lang.Object
rife.validation.ValidityChecks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkEmail
(CharSequence value) static boolean
checkEqual
(boolean value, boolean reference) static boolean
checkEqual
(byte value, byte reference) static boolean
checkEqual
(char value, char reference) static boolean
checkEqual
(double value, double reference) static boolean
checkEqual
(float value, float reference) static boolean
checkEqual
(int value, int reference) static boolean
checkEqual
(long value, long reference) static boolean
checkEqual
(short value, short reference) static boolean
checkEqual
(Object value, Object reference) static boolean
checkFormat
(Object value, Format format) static boolean
checkInList
(Object value, String[] list) static boolean
checkJavaIdentifier
(Object value) static boolean
checkJavaPackage
(Object value) static boolean
checkLaterThanNow
(Date value) static boolean
checkLength
(byte value, int min, int max) static boolean
checkLength
(char value, int min, int max) static boolean
checkLength
(double value, int min, int max) static boolean
checkLength
(float value, int min, int max) static boolean
checkLength
(int value, int min, int max) static boolean
checkLength
(long value, int min, int max) static boolean
checkLength
(short value, int min, int max) static boolean
checkLength
(CharSequence value, int min, int max) static boolean
checkLimitedDate
(Object value, Date min, Date max) static boolean
checkNotBlank
(CharSequence value) static boolean
checkNotEmpty
(byte value) static boolean
checkNotEmpty
(char value) static boolean
checkNotEmpty
(double value) static boolean
checkNotEmpty
(float value) static boolean
checkNotEmpty
(int value) static boolean
checkNotEmpty
(long value) static boolean
checkNotEmpty
(short value) static boolean
checkNotEmpty
(Byte value) static boolean
checkNotEmpty
(Character value) static boolean
checkNotEmpty
(CharSequence value) static boolean
checkNotEmpty
(Double value) static boolean
checkNotEmpty
(Float value) static boolean
checkNotEmpty
(Integer value) static boolean
checkNotEmpty
(Long value) static boolean
checkNotEmpty
(Object value) static boolean
checkNotEmpty
(Short value) static boolean
checkNotEqual
(boolean value, boolean reference) static boolean
checkNotEqual
(byte value, byte reference) static boolean
checkNotEqual
(char value, char reference) static boolean
checkNotEqual
(double value, double reference) static boolean
checkNotEqual
(float value, float reference) static boolean
checkNotEqual
(int value, int reference) static boolean
checkNotEqual
(long value, long reference) static boolean
checkNotEqual
(short value, short reference) static boolean
checkNotEqual
(Object value, Object reference) static boolean
checkNotNull
(Object value) static boolean
checkRange
(byte value, byte begin, byte end) static boolean
checkRange
(char value, char begin, char end) static boolean
checkRange
(double value, double begin, double end) static boolean
checkRange
(float value, float begin, float end) static boolean
checkRange
(int value, int begin, int end) static boolean
checkRange
(long value, long begin, long end) static boolean
checkRange
(short value, short begin, short end) static boolean
checkRange
(Object value, Comparable begin, Comparable end) static boolean
checkRegexp
(CharSequence value, String pattern) static boolean
checkUrl
(CharSequence 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
-
checkJavaIdentifier
-