パッケージ twitter4j
クラス CharacterUtil
java.lang.Object
twitter4j.CharacterUtil
- 導入されたバージョン:
- Twitter4J 2.1.2
-
フィールドの概要
-
メソッドの概要
修飾子とタイプメソッド説明static int
Counts the length of the tweetstatic boolean
Returns true if the length of the string is exceeding length limitation
-
フィールド詳細
-
MAX_TWEET_LENGTH
public static final int MAX_TWEET_LENGTHmax tweet length- 関連項目:
-
-
メソッドの詳細
-
count
Counts the length of the tweet- パラメータ:
text
- tweet to be counted- 戻り値:
- the length of the tweet
-
isExceedingLengthLimitation
Returns true if the length of the string is exceeding length limitation- パラメータ:
text
- String to be examined- 戻り値:
- if the length of the string is exceeding length limitation
-