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

interface XMimeContentType
Description
An implementation of this interface represents a MIME content-type that is conform to Rfc2045 and Rfc2046 . Instances that implement this interface could be created using the interface XMimeContentTypeFactory .

Methods' Summary
getMediaType To get the media type of the MIME content-type.  
getMediaSubtype To get the media subtype of the MIME content-type.  
getFullMediaType To get the full media/submedia type of the MIME content-type.  
getParameters To get a list of parameters that the MIME content-type contains.  
hasParameter To query if a specific parameter is supported.  
getParameterValue To get the value of a specified parameter.  
Methods' Details
getMediaType
string
getMediaType();

Description
To get the media type of the MIME content-type.
Returns
The media type of the MIME content-type.
getMediaSubtype
string
getMediaSubtype();

Description
To get the media subtype of the MIME content-type.
Returns
The media subtype of the MIME content-type.
getFullMediaType
string
getFullMediaType();

Description
To get the full media/submedia type of the MIME content-type.
Returns
The full media/submedia type of the MIME content-type.
getParameters
sequence< string >
getParameters();

Description
To get a list of parameters that the MIME content-type contains.
Returns
A list of the names of all parameters of the MIME content-type.
hasParameter
boolean
hasParameter( [in] string  aName );

Description
To query if a specific parameter is supported.
Parameter aName
The name of the parameter to query for.
Returns
A value of true if the MIME content-type has the specified parameter.

A value of false if the MIME content-type has not the specified parameter.

getParameterValue
string
getParameterValue( [in] string  aName )
raises( ::com::sun::star::container::NoSuchElementException );

Description
To get the value of a specified parameter.
Parameter aName
The name of the parameter for which the value is requested.
Returns
The value of the specified parameter.
Throws
com::sun::star::container::NoSuchElementException if the specified parameter doesn't exist.
Top of Page