程序包 | 说明 |
---|---|
org.bukkit.configuration.file |
致力于简化
配置 的读取和保存操作的类. |
限定符和类型 | 方法和说明 |
---|---|
void |
FileConfiguration.load(java.io.File file)
从指定位置加载
FileConfiguration
All the values contained within this configuration will be removed,
leaving only settings and defaults, and the new values will be loaded
from the given file. |
void |
FileConfiguration.load(java.io.Reader reader)
Loads this
FileConfiguration from the specified reader. |
void |
FileConfiguration.load(java.lang.String file)
Loads this
FileConfiguration from the specified location. |
void |
YamlConfiguration.loadFromString(java.lang.String contents) |
abstract void |
FileConfiguration.loadFromString(java.lang.String contents)
Loads this
FileConfiguration from the specified string, as
opposed to from file. |