Stores a data stream, in the file system.
Syntax
public
abstract void
storeDataStream
(
String
key
,
InputStream
stream
) throws SDMPersistenceException, IllegalArgumentException
Parameters
-
key –
The key used for identifying the object and as a name for the output file.
-
stream –
The data stream to store
Exceptions
-
SDMPersistenceException class –
if data stream can not be persisted for any reason.
-
IllegalArgumentException –
if parameter 'stream' or parameter 'key' is null, or parameter 'key' contains illegal characters.