|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwitter4j.URLEntityJSONImpl
final class URLEntityJSONImpl
A data class representing one single URL entity.
Field Summary | |
---|---|
private java.lang.String |
displayURL
|
private int |
end
|
private java.net.URL |
expandedURL
|
private static long |
serialVersionUID
|
private int |
start
|
private java.net.URL |
url
|
Constructor Summary | |
---|---|
URLEntityJSONImpl(twitter4j.internal.org.json.JSONObject json)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.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. |
java.net.URL |
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. |
java.net.URL |
getURL()
Returns the URL mentioned in the tweet. |
int |
hashCode()
|
private void |
init(twitter4j.internal.org.json.JSONObject json)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int start
private int end
private java.net.URL url
private java.net.URL expandedURL
private java.lang.String displayURL
private static final long serialVersionUID
Constructor Detail |
---|
URLEntityJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
Method Detail |
---|
private void init(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
public java.net.URL getURL()
getURL
in interface URLEntity
public java.net.URL getExpandedURL()
getExpandedURL
in interface URLEntity
public java.lang.String getDisplayURL()
getDisplayURL
in interface URLEntity
public int getStart()
getStart
in interface URLEntity
public int getEnd()
getEnd
in interface URLEntity
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |