- All Implemented Interfaces:
org.teavm.jso.JSObject
public abstract class Storage
extends Object
implements org.teavm.jso.JSObject
-
Constructor Summary
Constructors
-
Method Summary
abstract void
abstract int
abstract void
abstract void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.teavm.jso.JSObject
cast
-
-
Method Details
-
getLength
public abstract int getLength()
-
key
public abstract String key(int index)
-
-
-
removeItem
public abstract void removeItem(String key)
-
clear
public abstract void clear()
-
getSessionStorage
public static Storage getSessionStorage()
-
getLocalStorage
public static Storage getLocalStorage()