com.beem.project.beem.smack.avatar
Class XmppAvatarRetriever

Package class diagram package XmppAvatarRetriever
java.lang.Object
  extended by com.beem.project.beem.smack.avatar.XmppAvatarRetriever
All Implemented Interfaces:
AvatarRetriever

public class XmppAvatarRetriever
extends Object
implements AvatarRetriever

An AvatarRetriever which retrieve the avatar over the XMPP connection.


Constructor Summary
XmppAvatarRetriever(Connection con, String from, String id)
          Create an XmppAvatarRetriever.
 
Method Summary
 byte[] getAvatar()
          Retrieve the avatar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmppAvatarRetriever

public XmppAvatarRetriever(Connection con,
                           String from,
                           String id)
Create an XmppAvatarRetriever.

Parameters:
con - the xmpp connection
from - the contact from which we retrieve the avatar
id - the id of the avatar to retrieve
Method Detail

getAvatar

public byte[] getAvatar()
Description copied from interface: AvatarRetriever
Retrieve the avatar.

Specified by:
getAvatar in interface AvatarRetriever
Returns:
the avatar


Copyright © 2009 Beem-project.com. All Rights Reserved.