|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextFieldCharacterLengthValidator
Checks, whether a string's length exceeds a specific limit.
| Method Summary | |
|---|---|
long |
getMaximumNumberOfCharacters()
Returns the maximum number of characters to be entered for a single field. |
boolean |
isTextTooLong(String text)
Validate the length of the given string against the maximum number. |
| Method Detail |
|---|
boolean isTextTooLong(String text)
text - the text to be checked; can be null
null is always validlong getMaximumNumberOfCharacters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||