public final class XmlStorage.EditorImpl extends java.lang.Object implements Storage.Editor
Constructor and Description |
---|
XmlStorage.EditorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
apply() |
Storage.Editor |
clear() |
boolean |
commit() |
Storage.Editor |
putBoolean(java.lang.String key,
boolean value) |
Storage.Editor |
putFloat(java.lang.String key,
float value) |
Storage.Editor |
putInt(java.lang.String key,
int value) |
Storage.Editor |
putLong(java.lang.String key,
long value) |
Storage.Editor |
putString(java.lang.String key,
java.lang.String value) |
Storage.Editor |
putStringSet(java.lang.String key,
java.util.Set<java.lang.String> values) |
Storage.Editor |
remove(java.lang.String key) |
public Storage.Editor putString(java.lang.String key, java.lang.String value)
putString
in interface Storage.Editor
public Storage.Editor putStringSet(java.lang.String key, java.util.Set<java.lang.String> values)
putStringSet
in interface Storage.Editor
public Storage.Editor putInt(java.lang.String key, int value)
putInt
in interface Storage.Editor
public Storage.Editor putLong(java.lang.String key, long value)
putLong
in interface Storage.Editor
public Storage.Editor putFloat(java.lang.String key, float value)
putFloat
in interface Storage.Editor
public Storage.Editor putBoolean(java.lang.String key, boolean value)
putBoolean
in interface Storage.Editor
public Storage.Editor remove(java.lang.String key)
remove
in interface Storage.Editor
public Storage.Editor clear()
clear
in interface Storage.Editor
public void apply()
apply
in interface Storage.Editor
public boolean commit()
commit
in interface Storage.Editor