|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQStringFactory
This interface provides manipulation and validation functionality for String
data type.
Method Summary | |
---|---|
boolean |
isBlank(Object string)
Returns true if the specified string is blank (null, empty string, or contains only whitespace). |
boolean |
isNotBlank(Object string)
Returns true if the specified string is not blank. |
boolean |
isShorterThan(Object string,
int max)
Returns true if the length of the specified string is less than the supplied value. |
String |
trim(Object string)
Trims whitespace on both ends of the specified string. |
String |
trimLeft(Object string)
Trims left (leading) whitespace. |
String |
trimRight(Object string)
Trims right (trailing) whitespace. |
Method Detail |
---|
boolean isBlank(Object string)
string
- boolean isNotBlank(Object string)
string
- String trimLeft(Object string)
string
- String trimRight(Object string)
string
- String trim(Object string)
string
- boolean isShorterThan(Object string, int max)
string
- max
-
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |