com.skype
Class Friend

java.lang.Object
  extended by com.skype.User
      extended by com.skype.Friend
All Implemented Interfaces:
Serializable

public final class Friend
extends User

Implementation of a special USER, one that is authorized and on the contactlist.

Author:
Koji Hisano
See Also:
User, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.skype.User
User.BuddyStatus, User.Sex, User.Status
 
Field Summary
 
Fields inherited from class com.skype.User
MOOD_TEXT_PROPERTY, STATUS_PROPERTY
 
Method Summary
 Object getData(String name)
          Returns the user data to which this object maps to the specified by the name.
 void setData(String name, Object userData)
          Associates the specified user data with the specified name in this object.
 
Methods inherited from class com.skype.User
addPropertyChangeListener, askForAuthorization, call, canLeaveVoiceMail, chat, equals, getAbout, getAllCalls, getAllChatMessages, getAvatar, getBirthDay, getBuddyStatus, getCity, getCountry, getCountryByISOCode, getDisplayName, getFullName, getHandle, getHomePageAddress, getHomePhone, getHomePhoneNumber, getId, getInstance, getIntroduction, getLanguage, getLanguageByISOCode, getLastOnlineTime, getLauguage, getMobilePhone, getMobilePhoneNumber, getMoodMessage, getOfficePhone, getOfficePhoneNumber, getOnlineStatus, getProvince, getSex, getSpeedDial, getSpeedDial, getStatus, getTimeZone, hashCode, isAuthorized, isBlocked, isForwardingCalls, isVideoCapable, removePropertyChangeListener, send, setAuthorized, setBlocked, setBuddy, setDisplayName, toString, voiceMail
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getData

public final Object getData(String name)
Returns the user data to which this object maps to the specified by the name. Returns null if this object contains no mapping for the name.

Parameters:
name - name whose associated user data is to be returned.
Returns:
the user data to which this object maps the specified name, or null if this object contains no mapping for the name.
See Also:
Map.get(Object)

setData

public final void setData(String name,
                          Object userData)
Associates the specified user data with the specified name in this object.

Parameters:
name - name with which the specified user data is to be associated.
userData - user data to be associated with the specified name.
See Also:
Map.put(Object, Object)


Copyright © 2004-2011. All Rights Reserved.