- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.config.MemoryConfigurationSection
-
- cn.mcres.karlatemp.mxlib.config.MemoryConfiguration
-
- cn.mcres.karlatemp.mxlib.config.YamlConfiguration
-
- 所有已实现的接口:
Configuration
,ConfigurationSection
public class YamlConfiguration extends MemoryConfiguration
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
YamlConfiguration.Loader
static class
YamlConfiguration.YWriter
-
字段概要
字段 修饰符和类型 字段 说明 static org.yaml.snakeyaml.Yaml
y
-
构造器概要
构造器 构造器 说明 YamlConfiguration()
-
方法概要
-
从类继承的方法 cn.mcres.karlatemp.mxlib.config.MemoryConfiguration
clone, header, header, load, newContext, store
-
从类继承的方法 cn.mcres.karlatemp.mxlib.config.MemoryConfigurationSection
booleanV, byteV, charV, clear, clearSplitter, doubleV, exists, floatV, hasCurrentSplitter, intV, keys, list, longV, merge, number, parent, parent, pathSplitter, pathSplitter, remove, sectionOrCreate, set, shortV, split, string, stringList, toString, useSplitter, useSplitter, value, values
-
从接口继承的方法 cn.mcres.karlatemp.mxlib.config.ConfigurationSection
booleanV, booleanV, byteV, byteV, charV, charV, clear, clearSplitter, doubleV, doubleV, exists, floatV, floatV, hasCurrentSplitter, intV, intV, keys, list, list, longV, longV, merge, number, number, parent, parent, pathSplitter, pathSplitter, remove, root, section, sectionIfExist, sectionOrCreate, set, shortV, shortV, string, string, string, stringList, stringList, useSplitter, useSplitter, value, value, value, values
-
-
-
-
方法详细资料
-
load
public void load(Reader stream) throws IOException
从接口复制的说明:Configuration
Load configuration from a Reader.- 参数:
stream
- The reader.- 抛出:
IOException
- I/O Exception
-
store
public void store(Writer writer) throws IOException
从接口复制的说明:Configuration
Write this configuration to writer.- 参数:
writer
- The writer- 抛出:
IOException
- I/O Exception
-
-