パッケージ twitter4j.v1

インタフェース TweetEntity

既知のサブインタフェースのリスト:
HashtagEntity, MediaEntity, SymbolEntity, URLEntity, UserMentionEntity

public interface TweetEntity
super interface of UserMentionEntity, URLEntity and HashtagEntity
導入されたバージョン:
Twitter4J 3.0.4
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    int
    Returns the index of the end character of the entity in the tweet.
    int
    Returns the index of the start character of the entity in the tweet.
    Returns the text of the entity
  • メソッドの詳細

    • getText

      String getText()
      Returns the text of the entity
      戻り値:
      the text of the entity
    • getStart

      int getStart()
      Returns the index of the start character of the entity in the tweet.
      戻り値:
      the index of the start character of the entity in the tweet
    • getEnd

      int getEnd()
      Returns the index of the end character of the entity in the tweet.
      戻り値:
      the index of the end character of the entity in the tweet