src/net/java/sip/communicator/impl/protocol/jabber/InfoRetreiver.java
/**
     * Checks for full name tag in the <tt>card</tt>.
     * @param card the card to check.
     * @return the Full name if existing, null otherwise.
     */
Checks for full name tag in the card.
@param card the card to check.
@return the Full name if existing, null otherwise.
Checks for full name tag in the card . @param card the card to check . @return the Full name if existing null otherwise .
String checkForFullName(VCard card)
    {
        String vcardXml = card.toXML().toString();
        int indexOpen = vcardXml.indexOf(TAG_FN_OPEN);
        if(indexOpen == -1)
            return null;
        int indexClose = vcardXml.indexOf(TAG_FN_CLOSE, indexOpen);
        if(indexClose == -1)
            return null;
        return vcardXml.substring(indexOpen + TAG_FN_OPEN.length(), indexClose);
    }
String checkForFullName ( VCard card ) { String vcardXml = card . toXML ( ) . toString ( ) ; int indexOpen = vcardXml . indexOf ( TAG_FN_OPEN ) ; if ( indexOpen == - 1 ) return null ; int indexClose = vcardXml . indexOf ( TAG_FN_CLOSE , indexOpen ) ; if ( indexClose == - 1 ) return null ; return vcardXml . substring ( indexOpen + TAG_FN_OPEN . length ( ) , indexClose ) ; }
Checks for full name tag in the <tt>card</tt>.
Checks for full name tag in the <tt > card< / tt > .
// something is wrong!