public class Config extends ConfigNode
| Constructor and Description |
|---|
Config(File file) |
Config(File file,
List<String> defaults) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyDefaults(File from) |
void |
copyDefaults(List<String> lines) |
void |
read() |
void |
save() |
addChild, contains, copyDefaults, getBoolean, getBoolean, getChildren, getComment, getConfigNode, getDouble, getDouble, getInt, getInt, getIntList, getIntList, getKey, getKeysInOrder, getLong, getLong, getParent, getString, getString, getStringList, getStringList, getValue, set, set, setComment, sort, toStringpublic Config(File file)
public void read()
throws IOException
IOExceptionpublic void copyDefaults(File from) throws IOException
IOExceptionpublic void save()
throws IOException
save in class ConfigNodeIOExceptionCopyright © 2018. All rights reserved.