public interface TextFieldCharacterLengthValidator
Modifier and Type | Method and Description |
---|---|
long |
getMaximumNumberOfCharacters()
Returns the maximum number of characters to be entered for a single field.
|
boolean |
isTextTooLong(int length)
Validate given number representing text length against the maximum number.
|
boolean |
isTextTooLong(String text)
Validate the length of the given string against the maximum number.
|
boolean isTextTooLong(String text)
text
- the text to be checked; can be null
null
is always valid@Internal boolean isTextTooLong(int length)
length
- text length to be checkedlong getMaximumNumberOfCharacters()
Copyright © 2002-2015 Atlassian. All Rights Reserved.