com.uwyn.rife.site
Class ValidityChecks
java.lang.Object
com.uwyn.rife.site.ValidityChecks
public abstract class ValidityChecks
- extends Object
|
Method Summary |
static 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(Object value,
Object reference)
|
static boolean |
checkEqual(short value,
short reference)
|
static boolean |
checkFormat(Object value,
Format format)
|
static boolean |
checkInList(Object value,
String[] list)
|
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(CharSequence 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 |
checkLimitedDate(Object value,
Date min,
Date max)
|
static boolean |
checkNotEmpty(byte value)
|
static boolean |
checkNotEmpty(Byte value)
|
static boolean |
checkNotEmpty(char value)
|
static boolean |
checkNotEmpty(Character value)
|
static boolean |
checkNotEmpty(CharSequence value)
|
static boolean |
checkNotEmpty(double value)
|
static boolean |
checkNotEmpty(Double value)
|
static boolean |
checkNotEmpty(float value)
|
static boolean |
checkNotEmpty(Float value)
|
static boolean |
checkNotEmpty(int value)
|
static boolean |
checkNotEmpty(Integer value)
|
static boolean |
checkNotEmpty(long value)
|
static boolean |
checkNotEmpty(Long value)
|
static boolean |
checkNotEmpty(Object value)
|
static boolean |
checkNotEmpty(short 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(Object value,
Object reference)
|
static boolean |
checkNotEqual(short value,
short 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(Object value,
Comparable begin,
Comparable end)
|
static boolean |
checkRange(short value,
short begin,
short end)
|
static boolean |
checkRegexp(CharSequence value,
String pattern)
|
static boolean |
checkUrl(CharSequence value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidityChecks
public ValidityChecks()
checkNotNull
public static boolean checkNotNull(Object value)
checkNotEmpty
public static boolean checkNotEmpty(CharSequence value)
checkNotEmpty
public static boolean checkNotEmpty(Object value)
checkNotEmpty
public static boolean checkNotEmpty(Character value)
checkNotEmpty
public static boolean checkNotEmpty(char value)
checkNotEmpty
public static boolean checkNotEmpty(Byte value)
checkNotEmpty
public static boolean checkNotEmpty(byte value)
checkNotEmpty
public static boolean checkNotEmpty(Short value)
checkNotEmpty
public static boolean checkNotEmpty(short value)
checkNotEmpty
public static boolean checkNotEmpty(Integer value)
checkNotEmpty
public static boolean checkNotEmpty(int value)
checkNotEmpty
public static boolean checkNotEmpty(Long value)
checkNotEmpty
public static boolean checkNotEmpty(long value)
checkNotEmpty
public static boolean checkNotEmpty(Float value)
checkNotEmpty
public static boolean checkNotEmpty(float value)
checkNotEmpty
public static boolean checkNotEmpty(Double value)
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
public static boolean checkNotEqual(Object value,
Object reference)
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
public static boolean checkEqual(Object value,
Object reference)
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
public static boolean checkLength(CharSequence value,
int min,
int max)
checkRegexp
public static boolean checkRegexp(CharSequence value,
String pattern)
checkEmail
public static boolean checkEmail(CharSequence value)
checkUrl
public static boolean checkUrl(CharSequence value)
checkLaterThanNow
public static boolean checkLaterThanNow(Date value)
checkLimitedDate
public static boolean checkLimitedDate(Object value,
Date min,
Date max)
checkInList
public static boolean checkInList(Object value,
String[] list)
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
public static boolean checkRange(Object value,
Comparable begin,
Comparable end)
checkFormat
public static boolean checkFormat(Object value,
Format format)
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.