public final class CharacterUtil
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
CharacterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
count(java.lang.String text)
Counts the length of the tweet
|
static boolean |
isExceedingLengthLimitation(java.lang.String text)
Returns true if the length of the string is exceeding length limitation
|
public static int count(java.lang.String text)
text - tweet to be countedpublic static boolean isExceedingLengthLimitation(java.lang.String text)
text - String to be examined