net.java.sip.communicator.impl.gui.main.chat
Class MetaContactChatContact
java.lang.Object
net.java.sip.communicator.impl.gui.main.chat.ChatContact<MetaContact>
net.java.sip.communicator.impl.gui.main.chat.MetaContactChatContact
public class MetaContactChatContact
- extends ChatContact<MetaContact>
The MetaContactChatContact represents a ChatContact in a
user-to-user chat.
- Author:
- Yana Stamcheva, Lubomir Marinov
|
Method Summary |
byte[] |
getAvatarBytes()
Gets the avatar image corresponding to the source contact in the form of
an array of bytes. |
String |
getName()
Returns the contact name. |
String |
getUID()
Gets the implementation-specific identifier which uniquely specifies this
contact. |
MetaContactChatContact
public MetaContactChatContact(MetaContact metaContact)
- Creates an instance of ChatContact by passing to it the
corresponding MetaContact and Contact.
- Parameters:
metaContact - the MetaContact encapsulating the given
Contact
getAvatarBytes
public byte[] getAvatarBytes()
- Description copied from class:
ChatContact
- Gets the avatar image corresponding to the source contact in the form of
an array of bytes.
- Specified by:
getAvatarBytes in class ChatContact<MetaContact>
- Returns:
- an array of bytes which represents the avatar image corresponding
to the source contact
getName
public String getName()
- Returns the contact name.
- Specified by:
getName in class ChatContact<MetaContact>
- Returns:
- the contact name
getUID
public String getUID()
- Description copied from class:
ChatContact
- Gets the implementation-specific identifier which uniquely specifies this
contact.
- Specified by:
getUID in class ChatContact<MetaContact>
- Returns:
- an identifier which uniquely specifies this contact
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.