/** * Retrieve the album feed and associated entries. The kinds parameter is a * list of the associated entries to return. For example * <code>AlbumFeed albumAndPhotos = albumEntry.getFeed(PhotoData.KIND, * TagData.KIND);</code> If no kind parameters are passed, the default of * {@link PhotoData#KIND} will be used. * * @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 AlbumFeed getFeed(String... kinds) throws IOException, ServiceException { return getFeed(AlbumFeed.class, kinds); }
/** * Retrieve the album feed and associated entries. The kinds parameter is a * list of the associated entries to return. For example * <code>AlbumFeed albumAndPhotos = albumEntry.getFeed(PhotoData.KIND, * TagData.KIND);</code> If no kind parameters are passed, the default of * {@link PhotoData#KIND} will be used. * * @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 AlbumFeed getFeed(String... kinds) throws IOException, ServiceException { return getFeed(AlbumFeed.class, kinds); }