List of usage examples for twitter4j User getFriendsCount
int getFriendsCount();
From source file:Utils.ConvertUsers.java
License:Open Source License
public TwitterUser convertOne(User user) { TwitterUser twitterUser;/*from w w w. ja v a 2 s . co m*/ twitterUser = new TwitterUser(); twitterUser.setCreated_at(user.getCreatedAt()); twitterUser.setDescription(user.getDescription()); twitterUser.setFollowers_count(user.getFollowersCount()); twitterUser.setLang(user.getLang()); twitterUser.setLocation(user.getLocation()); twitterUser.setName(user.getName()); twitterUser.setProfile_image_url(user.getProfileImageURL()); twitterUser.setScreen_name(user.getScreenName()); twitterUser.setIdTwitter(user.getId()); twitterUser.setFriends_count(user.getFriendsCount()); twitterUser.setProfile_banner_url(user.getProfileBannerURL()); return twitterUser; }