public class Tree extends Config
TYPE_COMMENT, TYPE_CONFIG, TYPE_CONFIGLIST, TYPE_DESCRIPTION, TYPE_EMPTYLINE, TYPE_LISTITEM, TYPE_TREE, value| Constructor and Description |
|---|
Tree(ConfigContainer container) |
Tree(String name,
Tree parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Config config) |
void |
clear() |
Config |
getConfigChild(String name) |
List<Config> |
getConfigChilds() |
List<Config> |
getConfigChilds(String name) |
ConfigContainer |
getConfigContainer() |
List<ListItem> |
getListItems()
Deprecated.
|
Tree |
getTreeChild(String name) |
List<Tree> |
getTreeChilds() |
byte |
getType() |
boolean |
isInsideRoot() |
boolean |
isRoot() |
getAbsolutePath, getBoolean, getConfigType, getInt, getList, getString, setConfigType, setValue, setValue, valuesToStringpublic Tree(ConfigContainer container)
public void addChild(Config config)
@Deprecated public List<ListItem> getListItems()
public void clear()
public boolean isRoot()
public boolean isInsideRoot()
@Nullable public ConfigContainer getConfigContainer()
Copyright © 2018. All rights reserved.