twitter4j.util
Class CharacterUtil
java.lang.Object
twitter4j.util.CharacterUtil
public final class CharacterUtil
- extends Object
- Since:
- Twitter4J 2.1.2
- Author:
- Yusuke Yamamoto - yusuke at mac.com
count
public static int count(String text)
- Counts the length of the tweet
- Parameters:
text - tweet to be counted
- Returns:
- the length of the tweet
isExceedingLengthLimitation
public static boolean isExceedingLengthLimitation(String text)
- Returns true if the length of the string is exceeding length limitation
- Parameters:
text - String to be examined
- Returns:
- if the length of the string is exceeding length limitation
Copyright © 2012. All Rights Reserved.