public class Entities extends TwitterObject implements Serializable
A json representation of entities found within twitter status objects.
Constructor and Description |
---|
Entities(List<UrlEntity> urls,
List<HashTagEntity> tags,
List<MentionEntity> mentions,
List<MediaEntity> media) |
Entities(List<UrlEntity> urls,
List<HashTagEntity> tags,
List<MentionEntity> mentions,
List<MediaEntity> media,
List<TickerSymbolEntity> tickerSymbols) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<HashTagEntity> |
getHashTags() |
List<MediaEntity> |
getMedia() |
List<MentionEntity> |
getMentions() |
List<TickerSymbolEntity> |
getTickerSymbols() |
List<UrlEntity> |
getUrls() |
int |
hashCode() |
boolean |
hasMedia() |
boolean |
hasMentions() |
boolean |
hasTags() |
boolean |
hasTickerSymbols() |
boolean |
hasUrls() |
add, getExtraData
public Entities(List<UrlEntity> urls, List<HashTagEntity> tags, List<MentionEntity> mentions, List<MediaEntity> media)
public Entities(List<UrlEntity> urls, List<HashTagEntity> tags, List<MentionEntity> mentions, List<MediaEntity> media, List<TickerSymbolEntity> tickerSymbols)
public List<HashTagEntity> getHashTags()
public List<MentionEntity> getMentions()
public List<MediaEntity> getMedia()
public List<TickerSymbolEntity> getTickerSymbols()
public boolean hasUrls()
public boolean hasTags()
public boolean hasMentions()
public boolean hasMedia()
public boolean hasTickerSymbols()