public class AvatarUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static javax.portlet.PortletContext |
portletContext
The portlet context.
|
| Constructor and Description |
|---|
AvatarUtils() |
| Modifier and Type | Method and Description |
|---|---|
static AvatarInfo |
getAvatar(String username)
Gets the avatar.
|
protected static AvatarInfo |
getAvatar(String username,
boolean checkCache)
Gets the avatar.
|
static String |
refreshUserAvatar(String username)
Refresh user avatar.
|
protected static javax.portlet.PortletContext portletContext
protected static AvatarInfo getAvatar(String username, boolean checkCache)
username - the usernamecheckCache - the check cachepublic static AvatarInfo getAvatar(String username)
username - the usernameCopyright © 2022. All rights reserved.