|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.AccountInfoUtils
public class AccountInfoUtils
Utility class that would give to interested parties an easy access to some of most popular account details, like : first name, last name, birth date, image, etc.
| Constructor Summary | |
|---|---|
AccountInfoUtils()
|
|
| Method Summary | |
|---|---|
static String |
getAddress(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the address of the account, to which the given accountInfoOpSet belongs. |
static Calendar |
getBirthDate(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the birth date of the account, to which the given accountInfoOpSet belongs. |
static String |
getDisplayName(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the display name of the account, to which the given accountInfoOpSet belongs. |
static String |
getEmailAddress(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the email address of the account, to which the given accountInfoOpSet belongs. |
static String |
getFirstName(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the first name of the account, to which the given accountInfoOpSet belongs. |
static String |
getGender(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the gender of the account, to which the given accountInfoOpSet belongs. |
static byte[] |
getImage(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the image of the account, to which the given accountInfoOpSet belongs. |
static String |
getLastName(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the last name of the account, to which the given accountInfoOpSet belongs. |
static String |
getWorkAddress(OperationSetServerStoredAccountInfo accountInfoOpSet)
Returns the work address of the account, to which the given accountInfoOpSet belongs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountInfoUtils()
| Method Detail |
|---|
public static String getFirstName(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static String getLastName(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static String getDisplayName(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static byte[] getImage(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static Calendar getBirthDate(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static String getGender(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static String getAddress(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static String getWorkAddress(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
public static String getEmailAddress(OperationSetServerStoredAccountInfo accountInfoOpSet)
accountInfoOpSet - The account info operation set corresponding to
the searched account.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||