Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.icq
Class IcqAccountID

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.AccountID
      extended by net.java.sip.communicator.impl.protocol.icq.IcqAccountID

public class IcqAccountID
extends AccountID

The ICQ implementation of a sip-communicator AccountID

Author:
Emil Ivov

Field Summary
static String IS_AIM
          Then name of a property which represenstots is this account icq or aim.
 
Fields inherited from class net.java.sip.communicator.service.protocol.AccountID
accountProperties
 
Constructor Summary
IcqAccountID(String uin, Map<String,String> accountProperties)
          Creates an icq account id from the specified uin and account properties.
 
Method Summary
(package private) static boolean isAIM(Map<String,String> accountProperties)
          Checks whether the specified set of account properties describes an AIM account.
 
Methods inherited from class net.java.sip.communicator.service.protocol.AccountID
equals, getAccountAddress, getAccountProperties, getAccountProperty, getAccountPropertyBoolean, getAccountPropertyInt, getAccountPropertyString, getAccountUniqueID, getDisplayName, getProtocolDisplayName, getProtocolName, getService, getUserID, hashCode, isEnabled, putAccountProperty, removeAccountProperty, setAccountProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

IS_AIM

public static final String IS_AIM
Then name of a property which represenstots is this account icq or aim.

See Also:
Constant Field Values
Constructor Detail

IcqAccountID

IcqAccountID(String uin,
             Map<String,String> accountProperties)
Creates an icq account id from the specified uin and account properties. If property IS_AIM is set to true then this is an AIM account, else an Icq one.

Parameters:
uin - the uin identifying this account
accountProperties - any other properties necessary for the account.
Method Detail

isAIM

static boolean isAIM(Map<String,String> accountProperties)
Checks whether the specified set of account properties describes an AIM account.

Parameters:
accountProperties - the set of account properties to be checked whether they describe an AIM account
Returns:
true if accountProperties describes an AIM account; otherwise, false

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.