interface XDataContainer in module com::sun::star::ucb::

(Global Index)

[ DEPRECATED ]

Syntax

interface XDataContainer : com::sun::star::container::XIndexContainer ;

Description

specifies a container for (binary) data.

A data container may contain data and/or other data containers. A typical container with children is a MIME message with attachments.

Method Summary

getContentType returns the content type (MIME Type) of the data container.

setContentType sets the content type (MIME Type) of the data container.

getData returns the data of the data container.

setData sets the data of the data container.

getDataURL Deprecated. Do not use!

setDataURL Deprecated. Do not use!

Known Services Which Export this Interface

com::sun::star::ucb::DataContainer

Method Details



getContentType

Syntax

string getContentType ();

Description

returns the content type (MIME Type) of the data container.

Returns

the content type

setContentType

Syntax

void setContentType (
string aType );

Description

sets the content type (MIME Type) of the data container.

Parameter aType

the content type

getData

Syntax

sequence< byte > getData ();

Description

returns the data of the data container.

Returns

the data

setData

Syntax

void setData (
sequence< byte > aData );

Description

sets the data of the data container.

Parameter aData

the data

getDataURL

[ DEPRECATED ]

Syntax

string getDataURL ();

Description

Deprecated. Do not use!


setDataURL

[ DEPRECATED ]

Syntax

void setDataURL (
string aURL );

Description

Deprecated. Do not use!

Top of Page