パッケージ twitter4j.v1
インタフェース URLEntity
- すべてのスーパーインタフェース:
Serializable
,TweetEntity
- 既知のサブインタフェースのリスト:
MediaEntity
A data interface representing one single URL entity.
- 導入されたバージョン:
- Twitter4J 2.1.9
-
メソッドの概要
修飾子とタイプメソッド説明Returns the display URL if mentioned URL is shorten.int
getEnd()
Returns the index of the end character of the URL mentioned in the tweet.Returns the expanded URL if mentioned URL is shorten.int
getStart()
Returns the index of the start character of the URL mentioned in the tweet.getText()
Returns the URL mentioned in the tweet.
This method implementation is to meet TweetEntity interface and the behavior is equivalent togetURL()
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 togetURL()
- 定義:
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
-