Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: datatransfer ::
interface XMimeContentType
Description An implementation of this interface represents a MIME content-type that conforms 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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.