Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: document ::
interface XBinaryStreamResolver
Description This interface encapsulates functionality to get/resolve binary data streams. It is used to transform binary data to an URL or to transform an URL to binary data. The binary data is represented through input and output streams. In the case of transforming an URL to binary data, the `getInputStream` method is used. This returns a ::com::sun::star::io::XInputStream from which the binary data, transformed from the given URL, can be read. In the case of transforming binary data to an URL, a ::com::sun::star::io::XOutputStream is created first to write the binary data to. After this, the `resolveOutputStream` method can be used to transform the binary data, represented through the ::com::sun::star::io::XOutputStream interface, to an URL.

Methods' Summary
getInputStream | converts the given URL from the source URL namespace to an input stream, from which binary data can be read
createOutputStream | creates an output stream, to which binary data can be written. After writing, an URL can be retrieved by a call to XBinaryStreamResolver::resolveOutputStream.
resolveOutputStream | converts the output stream, data has been written to, to an URL in source URL namespace.

Methods' Details
getInputStream
::com::sun::star::io::XInputStream
getInputStream( | [in] string | aURL );
Description converts the given URL from the source URL namespace to an input stream, from which binary data can be read
createOutputStream
::com::sun::star::io::XOutputStream
createOutputStream();
Description creates an output stream, to which binary data can be written. After writing, an URL can be retrieved by a call to XBinaryStreamResolver::resolveOutputStream.
resolveOutputStream
string
resolveOutputStream( | [in] ::com::sun::star::io::XOutputStream | aBinaryStream );
Description converts the output stream, data has been written to, to an URL in source URL namespace.

Top of Page

Copyright © 2000, 2013 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.