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