Package | Description |
---|---|
com.edorasware.one.identity.user | |
com.edorasware.one.thumbnail |
Modifier and Type | Method and Description |
---|---|
Thumbnail |
AvatarManager.getAvatar(String ambiguousId,
int size)
Gets the avatar
Thumbnail for a given user. |
Thumbnail |
AvatarService.getAvatar(String email,
int size)
Gets the avatar
Thumbnail for a given email. |
Thumbnail |
AvatarService.getDefaultAvatar()
Gets the default avatar input stream which is stored on the file system.
|
Modifier and Type | Method and Description |
---|---|
static Thumbnail |
Thumbnail.createFromFile(File file,
com.google.common.net.MediaType mediaType)
Create a thumbnail with a content type and a
File as source. |
static Thumbnail |
Thumbnail.createFromStream(InputStream inputStream,
long lengthOfStream,
com.google.common.net.MediaType mediaType,
Date lastModifiedDate)
Create a thumbnail with a
MediaType , an InputStream as source, the length of the InputStream and the last date
modified. |
Thumbnail |
ThumbnailPreview.createThumbnail(InputStream inputStream,
int maxThumbnailHeight,
Date lastModifiedDate)
Creates the thumbnail for the given inputStream and the maximum thumbnail height.
|
Thumbnail |
ThumbnailService.generateThumbnail(InputStream inputStream,
com.google.common.net.MediaType mediaType,
int thumbnailMaxHeight,
PreviewType previewType,
Date lastModifiedDate)
Generates a thumbnail for the given input stream and
PreviewType . |
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.