src/net/java/sip/communicator/impl/protocol/jabber/MobileIndicator.java
/**
     * Checks a resource whether it is mobile or not, by checking the
     * cache.
     * @param fullJid the jid to check.
     * @return whether resource with that name is mobile or not.
     */
Checks a resource whether it is mobile or not, by checking the
cache.
@param fullJid the jid to check.
@return whether resource with that name is mobile or not.
Checks a resource whether it is mobile or not by checking the cache . @param fullJid the jid to check . @return whether resource with that name is mobile or not .
boolean isMobileResource(Jid fullJid)
    {
        if(isCapsMobileIndicator)
        {
            EntityCapsManager.NodeVerHash caps
                = ssclCallback.getParentProvider()
                    .getDiscoveryManager().getCapsByUser(fullJid);
            return caps != null
                && containsStrings(caps.getNode(), checkStrings);
        }
        return startsWithStrings(
            fullJid.getResourceOrEmpty().toString(),
            checkStrings);
    }
boolean isMobileResource ( Jid fullJid ) { if ( isCapsMobileIndicator ) { EntityCapsManager . NodeVerHash caps = ssclCallback . getParentProvider ( ) . getDiscoveryManager ( ) . getCapsByUser ( fullJid ) ; return caps != null && containsStrings ( caps . getNode ( ) , checkStrings ) ; } return startsWithStrings ( fullJid . getResourceOrEmpty ( ) . toString ( ) , checkStrings ) ; }
Checks a resource whether it is mobile or not, by checking the
 cache.
Checks a resource whether it is mobile or not by checking the cache .