public interface AvatarService
Service to access avatar Thumbnail
s.
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)
Gets the avatar 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()
Gets the default avatar input stream which is stored on the file system. Thus it does not need an active internet connection.
RuntimeException
- if something went wrong while retrieving the default avatarCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.