| Package | Description |
|---|---|
| org.cloudburstmc.server.utils |
| 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 |
|---|---|
boolean |
Config.load(String file,
int type,
ConfigSection defaultMap) |
void |
Config.setAll(ConfigSection section) |
int |
Config.setDefault(ConfigSection map) |
| Constructor and Description |
|---|
Config(File file,
int type,
ConfigSection defaultMap) |
Config(String file,
int type,
ConfigSection defaultMap) |
Copyright © 2020. All rights reserved.