twitter4j
Interface EntitySupport

All Known Subinterfaces:
Status, Tweet

public interface EntitySupport

Since:
Twitter4J 2.2.5
Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 HashtagEntity[] getHashtagEntities()
          Returns an array if hashtag mentioned in the tweet, or null if no hashtag were mentioned.
 MediaEntity[] getMediaEntities()
          Returns an array of MediaEntities if medias are available in the tweet, or null if no media is included in the tweet.
 URLEntity[] getURLEntities()
          Returns an array if URLEntity mentioned in the tweet, or null if no URLs were mentioned.
 UserMentionEntity[] getUserMentionEntities()
          Returns an array of user mentions in the tweet, or null if no users were mentioned.
 

Method Detail

getUserMentionEntities

UserMentionEntity[] getUserMentionEntities()
Returns an array of user mentions in the tweet, or null if no users were mentioned.

Returns:
An array of user mention entities in the tweet.
Since:
Twitter4J 2.1.9

getURLEntities

URLEntity[] getURLEntities()
Returns an array if URLEntity mentioned in the tweet, or null if no URLs were mentioned.

Returns:
An array of URLEntity mentioned in the tweet.
Since:
Twitter4J 2.1.9

getHashtagEntities

HashtagEntity[] getHashtagEntities()
Returns an array if hashtag mentioned in the tweet, or null if no hashtag were mentioned.

Returns:
An array of Hashtag mentioned in the tweet.
Since:
Twitter4J 2.1.9

getMediaEntities

MediaEntity[] getMediaEntities()
Returns an array of MediaEntities if medias are available in the tweet, or null if no media is included in the tweet.

Returns:
an array of MediaEntities.
Since:
Twitter4J 2.2.3


Copyright © 2012. All Rights Reserved.