|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.struts.validator.S3GenericValidator
public class S3GenericValidator
The generic validator for Slim3.
| Method Summary | |
|---|---|
static boolean |
maxByteLength(String value,
int max,
String charset)
Checks if the byte length is less than or equal to the maximum length. |
static boolean |
minByteLength(String value,
int min,
String charset)
Checks if the byte length is greater than or equal to the minimum length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean minByteLength(String value,
int min,
String charset)
value - the valuemin - the minimum lengthcharset - the character set
public static boolean maxByteLength(String value,
int max,
String charset)
value - the valuemax - the maximum lengthcharset - the character set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||