Package twitter4j.v1
Interface UserMentionEntity
- All Superinterfaces:
Serializable,TweetEntity
A data interface representing one single user mention entity.
- Since:
- Twitter4J 2.1.9
-
Method Summary
Modifier and TypeMethodDescriptionintgetEnd()Returns the index of the end character of the user mention.longgetId()Returns the user id mentioned in the status.getName()Returns the name mentioned in the status.Returns the screen name mentioned in the status.intgetStart()Returns the index of the start character of the user mention.getText()Returns the screen name mentioned in the status.
-
Method Details
-
getText
String getText()Returns the screen name mentioned in the status. This method implementation is to meet TweetEntity interface and the behavior is equivalent togetScreenName()- Specified by:
getTextin interfaceTweetEntity- Returns:
- the screen name mentioned in the status
-
getName
String getName()Returns the name mentioned in the status.- Returns:
- the name mentioned in the status
-
getScreenName
String getScreenName()Returns the screen name mentioned in the status.- Returns:
- the screen name mentioned in the status
-
getId
long getId()Returns the user id mentioned in the status.- Returns:
- the user id mentioned in the status
-
getStart
int getStart()Returns the index of the start character of the user mention.- Specified by:
getStartin interfaceTweetEntity- Returns:
- the index of the start character of the user mention
-
getEnd
int getEnd()Returns the index of the end character of the user mention.- Specified by:
getEndin interfaceTweetEntity- Returns:
- the index of the end character of the user mention
-