src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java
/**
     * Determines whether this chat transport supports the supplied content type
     *
     * @param contentType the type we want to check
     * @return <tt>true</tt> if the chat transport supports it and
     * <tt>false</tt> otherwise.
     */
Determines whether this chat transport supports the supplied content type
@param contentType the type we want to check
@return true if the chat transport supports it and
false otherwise.
Determines whether this chat transport supports the supplied content type @param contentType the type we want to check @return true if the chat transport supports it and false otherwise .
public boolean isContentTypeSupported(String contentType)
    {
        OperationSetBasicInstantMessaging imOpSet
            = contact
                .getProtocolProvider()
                    .getOperationSet(OperationSetBasicInstantMessaging.class);
        if(imOpSet != null)
            return imOpSet.isContentTypeSupported(contentType);
        else
            return false;
    }
public boolean isContentTypeSupported ( String contentType ) { OperationSetBasicInstantMessaging imOpSet = contact . getProtocolProvider ( ) . getOperationSet ( OperationSetBasicInstantMessaging . class ) ; if ( imOpSet != null ) return imOpSet . isContentTypeSupported ( contentType ) ; else return false ; }
Determines whether this chat transport supports the supplied content type
 @param contentType the type we want to check
 @return <tt>true</tt> if the chat transport supports it and
 <tt>false</tt> otherwise.
Determines whether this chat transport supports the supplied content type @param contentType the type we want to check @return <tt > true< / tt > if the chat transport supports it and <tt > false< / tt > otherwise .