BaseStorageService Class
Methods
clear
()
public
Clears the underlying storage source
getItem
(
public
-
key
Delegates a getItem call to the underlying storage source
Parameters:
-
key
String
key
(
String | Null
-
index
Delegates a key call to the underlying storage source.
Parameters:
-
index
NumberThe index of the key to retrieve.
Returns:
String | Null:
The key at the given index or null if it does not exist.
length
()
public
Delegates a length call the underlying storage source
removeItem
(
public
-
key
Delegates a removeItem call to the underlying storage source
Parameters:
-
key
String
setItem
(
public
-
key
-
value
Delegates a setItem call to the underlying storage source
Parameters:
-
key
String -
value
Properties
adapter
private
The adapter being delegated to