程序包 cn.fxcraft.base
类 YamlBase
- java.lang.Object
-
- org.bukkit.configuration.MemorySection
-
- org.bukkit.configuration.MemoryConfiguration
-
- org.bukkit.configuration.file.FileConfiguration
-
- org.bukkit.configuration.file.YamlConfiguration
-
- cn.fxcraft.base.YamlBase
-
- 所有已实现的接口:
org.bukkit.configuration.Configuration,org.bukkit.configuration.ConfigurationSection
public class YamlBase extends org.bukkit.configuration.file.YamlConfiguration配置类简单实现- 作者:
- FzmXer 2023年06月25日 13时17分
-
-
构造器概要
构造器 构造器 说明 YamlBase()YamlBase(BootModule module, java.lang.String filePath, java.lang.String fileName)构造(文件存在则读取,不存在则读取插件中的文件)YamlBase(java.io.File yamlFile)构造YamlBase(java.io.Reader reader)构造
-
方法概要
-
从类继承的方法 org.bukkit.configuration.file.YamlConfiguration
buildHeader, convertMapsToSections, loadConfiguration, loadConfiguration, loadFromString, options, parseHeader, saveToString
-
从类继承的方法 org.bukkit.configuration.MemoryConfiguration
addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults
-
从类继承的方法 org.bukkit.configuration.MemorySection
contains, contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isPrimitiveWrapper, isSet, isString, isVector, mapChildrenKeys, mapChildrenValues, set, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.bukkit.configuration.ConfigurationSection
contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isSet, isString, isVector, set
-
-
-
-
构造器详细资料
-
YamlBase
public YamlBase()
-
YamlBase
public YamlBase(java.io.Reader reader)
构造- 参数:
reader- 流
-
YamlBase
public YamlBase(java.io.File yamlFile)
构造- 参数:
yamlFile- yml文件
-
YamlBase
public YamlBase(BootModule module, java.lang.String filePath, java.lang.String fileName)
构造(文件存在则读取,不存在则读取插件中的文件)- 参数:
module- 插件filePath- 文件路径fileName- 文件名
-
-