src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java
/**
     * Determines whether the protocol supports the supplied content type
     * for the given contact.
     *
     * @param contentType the type we want to check
     * @param contact contact which is checked for supported contentType
     * @return <tt>true</tt> if the contact supports it and
     * <tt>false</tt> otherwise.
     */
Determines whether the protocol supports the supplied content type
for the given contact.

@param contentType the type we want to check
@param contact contact which is checked for supported contentType
@return true if the contact supports it and
false otherwise.
Determines whether the protocol supports the supplied content type for the given contact . @param contentType the type we want to check @param contact contact which is checked for supported contentType @return true if the contact supports it and false otherwise .
public boolean isContentTypeSupported(String contentType, Contact contact)
    {
        if(contentType.equals(DEFAULT_MIME_TYPE))
            return true;
        return false;
    }
public boolean isContentTypeSupported ( String contentType , Contact contact ) { if ( contentType . equals ( DEFAULT_MIME_TYPE ) ) return true ; return false ; }
Determines whether the protocol supports the supplied content type
 for the given contact.
Determines whether the protocol supports the supplied content type for the given contact .
// by default we support default mime type, for other mime-types // method must be overridden