/** * Retrieve the user feed and associated entries. The kinds parameter is a * list of the associated entries to return. For example * <code>UserFeed userAndPhotos = userEntry.getFeed(PhotoData.KIND, * TagData.KIND);</code> If no kind parameters are passed, the default of * {@link AlbumData#KIND} will be used. * * @see AlbumData#KIND * @see PhotoData#KIND * @see TagData#KIND * @param kinds the kinds of entries to retrieve, or empty to use the default. * @return a feed of the album and the requested kinds. */ public UserFeed getFeed(String... kinds) throws IOException, ServiceException { return getFeed(UserFeed.class, kinds); }
/** * Retrieve the user feed and associated entries. The kinds parameter is a * list of the associated entries to return. For example * <code>UserFeed userAndPhotos = userEntry.getFeed(PhotoData.KIND, * TagData.KIND);</code> If no kind parameters are passed, the default of * {@link AlbumData#KIND} will be used. * * @see AlbumData#KIND * @see PhotoData#KIND * @see TagData#KIND * @param kinds the kinds of entries to retrieve, or empty to use the default. * @return a feed of the album and the requested kinds. */ public UserFeed getFeed(String... kinds) throws IOException, ServiceException { return getFeed(UserFeed.class, kinds); }