public interface DocumentAbstract extends Nameable
| Modifier and Type | Method and Description |
|---|---|
<T extends DocumentAbstract> |
append(String key,
Boolean value) |
<T extends DocumentAbstract> |
append(String key,
com.google.gson.JsonElement value) |
<T extends DocumentAbstract> |
append(String key,
Number value) |
<T extends DocumentAbstract> |
append(String key,
Object value)
Deprecated.
|
<T extends DocumentAbstract> |
append(String key,
String value) |
String |
convertToJson() |
boolean |
getBoolean(String key) |
<T extends DocumentAbstract> |
getDocument(String key) |
double |
getDouble(String key) |
float |
getFloat(String key) |
int |
getInt(String key) |
long |
getLong(String key) |
short |
getShort(String key) |
String |
getString(String key) |
Set<String> |
keys() |
<T extends DocumentAbstract> |
remove(String key) |
boolean |
saveAsConfig(File backend) |
boolean |
saveAsConfig(String path) |
<T extends DocumentAbstract> T append(String key, String value)
<T extends DocumentAbstract> T append(String key, Number value)
<T extends DocumentAbstract> T append(String key, Boolean value)
<T extends DocumentAbstract> T append(String key, com.google.gson.JsonElement value)
@Deprecated <T extends DocumentAbstract> T append(String key, Object value)
<T extends DocumentAbstract> T remove(String key)
int getInt(String key)
long getLong(String key)
double getDouble(String key)
boolean getBoolean(String key)
float getFloat(String key)
short getShort(String key)
String convertToJson()
boolean saveAsConfig(File backend)
boolean saveAsConfig(String path)
<T extends DocumentAbstract> T getDocument(String key)
Copyright © 2020. All rights reserved.