public class StringMaxLengthValidator extends Object implements Validator
Constructor and Description |
---|
StringMaxLengthValidator(int maxLength) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxLength()
The defined maximum for a valid string length.
|
String |
validate(Object object)
Validates length of a String against a maximum.
|
Copyright © 2016. All rights reserved.