public static enum StorageHolder.Type extends Enum<StorageHolder.Type>
Enum Constant and Description |
---|
LOCAL_STORAGE
The type for window.localStorage.
|
SESSION_STORAGE
The type for window.sessionStorage.
|
Modifier and Type | Method and Description |
---|---|
static StorageHolder.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageHolder.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageHolder.Type LOCAL_STORAGE
public static final StorageHolder.Type SESSION_STORAGE
public static StorageHolder.Type[] values()
for (StorageHolder.Type c : StorageHolder.Type.values()) System.out.println(c);
public static StorageHolder.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.