- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.config.MemoryConfigurationSection
-
- cn.mcres.karlatemp.mxlib.config.MemoryConfiguration
-
- 所有已实现的接口:
Configuration,ConfigurationSection
public abstract class MemoryConfiguration extends MemoryConfigurationSection implements Configuration
-
-
构造器概要
构造器 构造器 说明 MemoryConfiguration()
-
方法概要
修饰符和类型 方法 说明 @NotNull Configurationclone()Stringheader()The header of this configuration.Configurationheader(String header)Set header of this configuration.voidload(InputStream stream)Load configuration from a stream@NotNull MemoryConfigurationnewContext()Create a new context / Create a Pointer.voidstore(OutputStream stream)Write this configuration to steam-
从类继承的方法 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(InputStream stream) throws IOException
从接口复制的说明:ConfigurationLoad configuration from a stream- 指定者:
load在接口中Configuration- 参数:
stream- The stream.- 抛出:
IOException- I/O Exception
-
store
public void store(OutputStream stream) throws IOException
从接口复制的说明:ConfigurationWrite this configuration to steam- 指定者:
store在接口中Configuration- 参数:
stream- The steam.- 抛出:
IOException- I/O Exception
-
header
public String header()
从接口复制的说明:ConfigurationThe header of this configuration. But Now NOT Implement this method.- 指定者:
header在接口中Configuration- 返回:
- THe header of this configuration.
-
newContext
@NotNull public @NotNull MemoryConfiguration newContext()
从接口复制的说明:ConfigurationSectionCreate a new context / Create a Pointer.- 指定者:
newContext在接口中Configuration- 指定者:
newContext在接口中ConfigurationSection- 覆盖:
newContext在类中MemoryConfigurationSection- 返回:
- The pointer created.
-
clone
@NotNull public @NotNull Configuration clone()
- 指定者:
clone在接口中Configuration- 指定者:
clone在接口中ConfigurationSection- 覆盖:
clone在类中MemoryConfigurationSection
-
header
public Configuration header(String header)
从接口复制的说明:ConfigurationSet header of this configuration. But Now NOT Implement this method.- 指定者:
header在接口中Configuration- 参数:
header- The header- 返回:
- this.
-
-