public class PicasaWeb extends Object
PicasawebService by providing simple convinient methods.| Modifier and Type | Field and Description |
|---|---|
static String |
ALBUM_URL |
static String |
PHOTOS_URL |
protected com.google.gdata.client.photos.PicasawebService |
pws |
| Constructor and Description |
|---|
PicasaWeb(com.google.gdata.client.photos.PicasawebService pws) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gdata.data.photos.AlbumEntry |
createAlbum(String album) |
com.google.gdata.data.photos.AlbumEntry |
createAlbum(String user,
com.google.gdata.data.photos.AlbumEntry album) |
protected PicasaWebException |
exception(Exception e) |
AlbumBean |
getAlbum(String user,
String album) |
com.google.gdata.data.photos.AlbumFeed |
getAlbumFeed(String user,
String album) |
PhotosBean |
getPhoto(String user,
String album,
String photo) |
com.google.gdata.data.photos.PhotoEntry |
getPhotoEntryByUserAlbumPhotoid(String user,
String album,
String photoid) |
UserBean |
getUser(String user) |
UserBean |
getUser(String user,
Visibility visibility) |
com.google.gdata.data.photos.UserFeed |
getUserFeed(String user,
Visibility visibility) |
com.google.gdata.data.photos.PhotoEntry |
insert(String user,
String album,
com.google.gdata.data.media.MediaSource source) |
PhotosBean |
photo(com.google.gdata.data.photos.AlbumFeed albumFeed,
String photo) |
void |
update(com.google.gdata.data.BaseEntry<?> entry) |
com.google.gdata.data.photos.PhotoEntry |
updateMedia(com.google.gdata.data.photos.PhotoEntry entry,
boolean updateEntry) |
public static final String ALBUM_URL
public static final String PHOTOS_URL
protected com.google.gdata.client.photos.PicasawebService pws
protected PicasaWebException exception(Exception e)
public com.google.gdata.data.photos.UserFeed getUserFeed(String user, Visibility visibility)
public UserBean getUser(String user, Visibility visibility)
public PhotosBean photo(com.google.gdata.data.photos.AlbumFeed albumFeed, String photo)
public PhotosBean getPhoto(String user, String album, String photo)
public com.google.gdata.data.photos.PhotoEntry insert(String user, String album, com.google.gdata.data.media.MediaSource source)
public com.google.gdata.data.photos.AlbumEntry createAlbum(String user, com.google.gdata.data.photos.AlbumEntry album)
public com.google.gdata.data.photos.AlbumEntry createAlbum(String album)
public com.google.gdata.data.photos.PhotoEntry getPhotoEntryByUserAlbumPhotoid(String user, String album, String photoid)
public void update(com.google.gdata.data.BaseEntry<?> entry)
public com.google.gdata.data.photos.PhotoEntry updateMedia(com.google.gdata.data.photos.PhotoEntry entry,
boolean updateEntry)
Copyright © 2016. All rights reserved.