| Package | Description |
|---|---|
| com.nukkitx.api.util |
| Modifier and Type | Method and Description |
|---|---|
ConfigSection |
ConfigSection.getAll()
Get new instance of config section
|
ConfigSection |
Config.getRootSection()
Get root (main) config section of the Config
|
ConfigSection |
Config.getSection(String key) |
ConfigSection |
ConfigSection.getSection(String key)
Get config section element defined by key
|
ConfigSection |
Config.getSections() |
ConfigSection |
ConfigSection.getSections()
Get all ConfigSections in root path.
|
ConfigSection |
Config.getSections(String key) |
ConfigSection |
ConfigSection.getSections(String key)
Get sections (and only sections) from provided path
|
| Modifier and Type | Method and Description |
|---|---|
ConfigBuilder |
ConfigBuilder.defaultMap(ConfigSection defaultMap) |
boolean |
Config.load(String file,
Config.Type type,
ConfigSection defaultMap) |
void |
Config.setAll(ConfigSection section) |
int |
Config.setDefault(ConfigSection map) |
Copyright © 2017–2019 NukkitX. All rights reserved.