:: com :: sun :: star :: datatransfer ::

interface XMimeContentTypeFactory
Description
Implementations of this interface do create a XMimeContentType from a given string that represents a MIME content-type (see Rfc2045 and Rfc2046).

Methods' Summary
createMimeContentType Creates an object that implements XMimeContentType.  
Methods' Details
createMimeContentType
XMimeContentType
createMimeContentType( [in] string  aContentType )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Creates an object that implements XMimeContentType.
Parameter aContentType
A string that represents a MIME content-type as specified in Rfc2045 and Rfc2046.
Returns
An object that implements XMimeContentType.
Throws
com::sun::star::lang::IllegalArgumentException if the string does not conform to Rfc2045 and Rfc2046;

Exception: Quoted parameter values may contain spaces.

See also
XMimeContentType
Top of Page