public class MediaEntityJSONImpl extends Object implements MediaEntity
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(twitter4j.internal.json.EntityIndex that) |
boolean |
equals(Object o) |
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.
|
long |
getId()
Returns the id of the media.
|
String |
getMediaURL()
Returns the media URL.
|
String |
getMediaURLHttps()
Returns the media secure URL.
|
Map<Integer,MediaEntity.Size> |
getSizes()
Returns size variations of the media.
|
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 URLEntity.getURL() |
String |
getType()
Returns the media type ("photo").
|
String |
getURL()
Returns the URL mentioned in the tweet.
|
int |
hashCode() |
String |
toString() |
public long getId()
getId in interface MediaEntitypublic String getMediaURL()
getMediaURL in interface MediaEntitypublic String getMediaURLHttps()
getMediaURLHttps in interface MediaEntitypublic String getText()
URLEntity.getURL()getText in interface TweetEntitygetText in interface URLEntitypublic String getURL()
public String getDisplayURL()
getDisplayURL in interface URLEntitypublic String getExpandedURL()
getExpandedURL in interface URLEntitypublic Map<Integer,MediaEntity.Size> getSizes()
MediaEntitygetSizes in interface MediaEntitypublic String getType()
getType in interface MediaEntitypublic int getStart()
getStart in interface TweetEntitygetStart in interface URLEntitypublic int getEnd()
getEnd in interface TweetEntitygetEnd in interface URLEntitypublic int compareTo(twitter4j.internal.json.EntityIndex that)
compareTo in interface Comparable<twitter4j.internal.json.EntityIndex>Copyright © 2013. All Rights Reserved.