public interface AvatarService
Thumbnails.| Modifier and Type | Method and Description |
|---|---|
Thumbnail |
getAvatar(String email,
int size)
Gets the avatar
Thumbnail for a given email. |
Thumbnail |
getDefaultAvatar()
Gets the default avatar input stream which is stored on the file system.
|
Thumbnail getAvatar(String email, int size)
Thumbnail for a given email.email - email address optional of the user for which to get the avatar thumbnailsize - the preferred size of the avatar image, 0 for the original sizeRuntimeException - if something went wrong while retrieving or processing the avatar thumbnailThumbnail getDefaultAvatar()
RuntimeException - if something went wrong while retrieving the default avatarCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.