interface XMimeContentTypeFactory in module com::sun::star::datatransfer::

(Global Index)

Syntax

interface XMimeContentTypeFactory : com::sun::star::uno::XInterface ;

Description

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

Method Summary

createMimeContentType Creates an object that implements XMimeContentType .

Known Services Which Export this Interface

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

Method Details



createMimeContentType

Syntax

com::sun::star::datatransfer::XMimeContentType createMimeContentType (
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