Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: packages ::
unpublished
interface XDataSinkEncrSupport
Usage Restrictions
not published
Description
Allows to get access to the stream of a PackageStream .
Methods' Summary
getDataStream
Allows to get access to the data of the PackageStream.
getRawStream
Allows to get access to the data of the PackageStream as to raw stream.
In case stream is not encrypted an exception will be thrown.
setDataStream
Allows to set a data stream for the PackageStream.
setRawStream
Allows to set raw stream for the PackageStream.
The PackageStream object can not be marked as encrypted one,
an exception will be thrown in such case.
getPlainRawStream
Allows to get access to the raw data of the stream as it is stored in
the package.
Methods' Details
getDataStream
Description
Allows to get access to the data of the PackageStream.
In case stream is encrypted one and the key for the stream is not set,
an exception must be thrown.
Returns
the stream
Throws
::com::sun::star::packages::WrongPasswordException
no key or a wrong one is set
Throws
::com::sun::star::io::IOException
in case of io problems during retrieving
getRawStream
Description
Allows to get access to the data of the PackageStream as to raw stream.
In case stream is not encrypted an exception will be thrown.
The difference of raw stream is that it contains header for encrypted data,
so an encrypted stream can be copyed from one PackageStream to
another one without decryption.
Returns
the raw representation of stream
Throws
::com::sun::star::packages::NoEncryptionException
the PackageStream object is not encrypted
Throws
::com::sun::star::io::IOException
in case of io problems during retrieving
setDataStream
Description
Allows to set a data stream for the PackageStream.
In case PackageStream is marked as encrypted the data stream will be encrypted on storing.
Parameter aStream
new data stream
Throws
::com::sun::star::io::IOException
in case of io problems
setRawStream
Description
Allows to set raw stream for the PackageStream.
The PackageStream object can not be marked as encrypted one,
an exception will be thrown in such case.
Parameter aStream
the new raw representation of stream
Throws
::com::sun::star::packages::EncryptionNotAllowedException
the PackageStream object is marked as encrypted
Throws
::com::sun::star::packages::NoRawFormatException
the stream is not a correct raw representation of encrypted package stream
Throws
::com::sun::star::io::IOException
in case of io problems during retrieving
getPlainRawStream
Description
Allows to get access to the raw data of the stream as it is stored in
the package.
Returns
the plain raw stream as it is stored in the package
Throws
::com::sun::star::io::IOException
in case of io problems during retrieving
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.