Engine for Web Applications

org.cote.js.storage.IEStorageProvider

static org.cote.js.storage.IEStorageProvider

version 2.0.0

A conditional wrapper exposed based on browser support. This is not the preferred provider and is included to support IE 6 and 7.

This class participates in the engine library.

Index

Method Index

Methods

clear

Empties the storage of all saved key/value pairs.

Syntax

void clear( )

getItem

Returns the stored value corresponding to the specified key.

Syntax

v = getItem( n )

Parameters

Returns

v as String: Stored value.

getLength

Returns the number of keys currently stored.

Syntax

l = getLength( )

Returns

l as int: Number of keys.

key

Returns the key at the specified index.

Syntax

s = key( i )

Parameters

Returns

s as String: The key name.

removeItem

Removes the specified item from storage.

Syntax

void removeItem( n )

Parameters

setItem

Stores the supplied value at the specified key.

Syntax

b = setItem( n, v )

Parameters

Returns

b as bit: Bit indicating whether the value was stored.