com.atlassian.confluence.plugins.avatar
Class HashingAvatarUrlHelper
java.lang.Object
com.atlassian.confluence.plugins.avatar.HashingAvatarUrlHelper
- All Implemented Interfaces:
- AvatarUrlHelper
public class HashingAvatarUrlHelper
- extends Object
- implements AvatarUrlHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HashingAvatarUrlHelper
public HashingAvatarUrlHelper(ContextPathHolder contextPathHolder)
getAvatarUrl
public String getAvatarUrl(String username,
int width)
- Description copied from interface:
AvatarUrlHelper
- The avatar URL including any context path.
- Specified by:
getAvatarUrl
in interface AvatarUrlHelper
- Parameters:
username
- the name of the userwidth
- the width of the avatar. Must be greater than 0.
- Returns:
- the avatar URL including any context path.
Copyright © 2003-2013 Atlassian. All Rights Reserved.