Examples of DisplayNameDetail


Examples of net.java.sip.communicator.service.protocol.ServerStoredDetails.DisplayNameDetail

    /**
     * Changes the display name string.
     */
    void setOurDisplayName(String newDisplayName)
    {
        DisplayNameDetail oldDisplayName = displayNameDetail;
        DisplayNameDetail newDisplayNameDetail
                = new DisplayNameDetail(newDisplayName);

        List<GenericDetail> alreadySetDetails = new Vector<GenericDetail>();
        Iterator<GenericDetail> iter
                = getDetails(newDisplayNameDetail.getClass());
        while (iter.hasNext())
        {
            alreadySetDetails.add(iter.next());
        }

View Full Code Here

Examples of net.java.sip.communicator.service.protocol.ServerStoredDetails.DisplayNameDetail

     * accountInfoOpSet belongs.
     */
    public static String getDisplayName(
            OperationSetServerStoredAccountInfo accountInfoOpSet)
    {
        DisplayNameDetail displayName = null;
        Iterator<GenericDetail> displayNameDetails
            =  accountInfoOpSet.getDetails(DisplayNameDetail.class);

        if (displayNameDetails.hasNext())
            displayName = (DisplayNameDetail) displayNameDetails.next();

        if(displayName == null)
            return null;

        return displayName.getString();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.