パッケージ twitter4j.v1

インタフェース URLEntity

すべてのスーパーインタフェース:
Serializable, TweetEntity
既知のサブインタフェースのリスト:
MediaEntity

public interface URLEntity extends TweetEntity, Serializable
A data interface representing one single URL entity.
導入されたバージョン:
Twitter4J 2.1.9
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    Returns the display URL if mentioned URL is shorten.
    int
    Returns the index of the end character of the URL mentioned in the tweet.
    Returns the expanded URL if mentioned URL is shorten.
    int
    Returns the index of the start character of the URL mentioned in the tweet.
    Returns the URL mentioned in the tweet.
    This method implementation is to meet TweetEntity interface and the behavior is equivalent to getURL()
    Returns the URL mentioned in the tweet.
  • メソッドの詳細

    • getText

      String getText()
      Returns the URL mentioned in the tweet.
      This method implementation is to meet TweetEntity interface and the behavior is equivalent to getURL()
      定義:
      getText インタフェース内 TweetEntity
      戻り値:
      the mentioned URL
    • getURL

      String getURL()
      Returns the URL mentioned in the tweet.
      戻り値:
      the mentioned URL
    • getExpandedURL

      String getExpandedURL()
      Returns the expanded URL if mentioned URL is shorten.
      戻り値:
      the expanded URL if mentioned URL is shorten, or null if no shorten URL was mentioned.
    • getDisplayURL

      String getDisplayURL()
      Returns the display URL if mentioned URL is shorten.
      戻り値:
      the display URL if mentioned URL is shorten, or null if no shorten URL was mentioned.
    • getStart

      int getStart()
      Returns the index of the start character of the URL mentioned in the tweet.
      定義:
      getStart インタフェース内 TweetEntity
      戻り値:
      the index of the start character of the URL mentioned in the tweet
    • getEnd

      int getEnd()
      Returns the index of the end character of the URL mentioned in the tweet.
      定義:
      getEnd インタフェース内 TweetEntity
      戻り値:
      the index of the end character of the URL mentioned in the tweet