:: 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 copied 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 © 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.