Syntax
public
abstract boolean
removeData
(
String
key
) throws SDMPersistenceException, IllegalArgumentException
Parameters
-
key –
The key used for identifying the object and the file to delete.
Returns
boolean if persisted data with the given key found and successfully removed, false otherwise.
Exceptions
-
SDMPersistenceException class –
if persisted data can not be deleted for any reason.
-
IllegalArgumentException –
if parameter 'key' is null.