|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttwitter4j.internal.json.MediaEntityJSONImpl
public class MediaEntityJSONImpl
| Constructor Summary | |
|---|---|
MediaEntityJSONImpl(JSONObject json)
|
|
| Method Summary | |
|---|---|
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. |
URL |
getExpandedURL()
Returns the expanded URL if mentioned URL is shorten. |
long |
getId()
Returns the id of the media. |
URL |
getMediaURL()
Returns the media URL. |
URL |
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 |
getType()
Returns the media type ("photo"). |
URL |
getURL()
Returns the URL mentioned in the tweet. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MediaEntityJSONImpl(JSONObject json)
throws TwitterException
TwitterException| Method Detail |
|---|
public long getId()
getId in interface MediaEntitypublic URL getMediaURL()
getMediaURL in interface MediaEntitypublic URL getMediaURLHttps()
getMediaURLHttps in interface MediaEntitypublic URL getURL()
getURL in interface URLEntitypublic String getDisplayURL()
getDisplayURL in interface URLEntitypublic URL getExpandedURL()
getExpandedURL in interface URLEntitypublic Map<Integer,MediaEntity.Size> getSizes()
MediaEntity
getSizes in interface MediaEntitypublic String getType()
getType in interface MediaEntitypublic int getStart()
getStart in interface URLEntitypublic int getEnd()
getEnd in interface URLEntitypublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||