public interface URLEntity extends TweetEntity, Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayURL()
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.
|
String |
getExpandedURL()
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.
|
String |
getText()
Returns the URL mentioned in the tweet.
This method implementation is to meet TweetEntity interface and the behavior is equivalent to getURL() |
String |
getURL()
Returns the URL mentioned in the tweet.
|
String getText()
getURL()getText in interface TweetEntityString getURL()
String getExpandedURL()
String getDisplayURL()
int getStart()
getStart in interface TweetEntityint getEnd()
getEnd in interface TweetEntityCopyright © 2018. All rights reserved.