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

(Global Index)

Syntax

interface XSimpleFileAccess2 : com::sun::star::ucb::XSimpleFileAccess ;

Description

This is an extension to the interface XSimpleFileAccess .

Method Summary

writeFile Overwrites the file content with the given data.

Known Services Which Export this Interface

com::sun::star::ucb::SimpleFileAccess

Method Details



writeFile

Syntax

void writeFile (
string FileURL,
com::sun::star::io::XInputStream data )
raises ( com::sun::star::uno::Exception );

Description

Overwrites the file content with the given data.

If the file does not exist, it will be created.

Parameter FileURL

File to write

Parameter data

A stream containing the data for the file to be (over-)written
Top of Page