|
Spring Social Twitter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.twitter.api.SearchResults
public class SearchResults
Represents the results of a Twitter search, including matching Tweet
s
and any metadata associated with that search.
Constructor Summary | |
---|---|
SearchResults(java.util.List<Tweet> tweets,
SearchMetadata metaData)
|
|
SearchResults(java.util.List<Tweet> tweets,
SearchMetadata metaData,
boolean lastPage)
|
Method Summary | |
---|---|
SearchMetadata |
getSearchMetadata()
Returns the SearchMetadata associated with a
particular search |
java.util.List<Tweet> |
getTweets()
Returns the list of matching Tweet s |
boolean |
isLastPage()
Returns true if this is the last page of matching
Tweet s; false if there are more pages that follow
this one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchResults(java.util.List<Tweet> tweets, SearchMetadata metaData)
public SearchResults(java.util.List<Tweet> tweets, SearchMetadata metaData, boolean lastPage)
Method Detail |
---|
public java.util.List<Tweet> getTweets()
Tweet
s
public SearchMetadata getSearchMetadata()
SearchMetadata
associated with a
particular search
public boolean isLastPage()
true
if this is the last page of matching
Tweet
s; false
if there are more pages that follow
this one.
|
Spring Social Twitter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |