public class BungeeConfigProvider extends cc.carm.lib.configuration.core.source.impl.FileConfigProvider<BungeeSectionWrapper> implements cc.carm.lib.yamlcommentupdater.CommentedYAML
限定符和类型 | 字段和说明 |
---|---|
protected cc.carm.lib.configuration.core.source.ConfigurationComments |
comments |
protected net.md_5.bungee.config.Configuration |
configuration |
protected cc.carm.lib.configuration.core.ConfigInitializer<BungeeConfigProvider> |
initializer |
protected net.md_5.bungee.config.ConfigurationProvider |
loader |
protected static char |
SEPARATOR |
构造器和说明 |
---|
BungeeConfigProvider(@NotNull java.io.File file,
@NotNull java.lang.Class<? extends net.md_5.bungee.config.ConfigurationProvider> providerClass) |
BungeeConfigProvider(@NotNull java.io.File file,
@NotNull net.md_5.bungee.config.ConfigurationProvider loader) |
限定符和类型 | 方法和说明 |
---|---|
@NotNull cc.carm.lib.configuration.core.source.ConfigurationComments |
getComments() |
@NotNull BungeeSectionWrapper |
getConfiguration() |
@Nullable java.util.List<java.lang.String> |
getHeaderComments(@Nullable java.lang.String key) |
@NotNull cc.carm.lib.configuration.core.ConfigInitializer<BungeeConfigProvider> |
getInitializer() |
java.util.Set<java.lang.String> |
getKeys(@Nullable java.lang.String sectionKey,
boolean deep) |
net.md_5.bungee.config.ConfigurationProvider |
getLoader() |
@Nullable java.lang.Object |
getValue(@NotNull java.lang.String key) |
void |
initializeConfig() |
protected void |
onReload() |
void |
save() |
java.lang.String |
serializeValue(@NotNull java.lang.String key,
@NotNull java.lang.Object value) |
getFile, getResource, initializeFile, saveResource
getHeaderComment, getInlineComment, getUpdateTime, initialize, initialize, initialize, initialize, initialize, isExpired, reload, setHeaderComment, setInlineComment
protected static final char SEPARATOR
protected net.md_5.bungee.config.ConfigurationProvider loader
protected net.md_5.bungee.config.Configuration configuration
protected cc.carm.lib.configuration.core.ConfigInitializer<BungeeConfigProvider> initializer
protected cc.carm.lib.configuration.core.source.ConfigurationComments comments
public BungeeConfigProvider(@NotNull @NotNull java.io.File file, @NotNull @NotNull net.md_5.bungee.config.ConfigurationProvider loader)
public BungeeConfigProvider(@NotNull @NotNull java.io.File file, @NotNull @NotNull java.lang.Class<? extends net.md_5.bungee.config.ConfigurationProvider> providerClass)
public void initializeConfig() throws java.io.IOException
java.io.IOException
@NotNull public @NotNull BungeeSectionWrapper getConfiguration()
getConfiguration
在类中 cc.carm.lib.configuration.core.source.ConfigurationProvider<BungeeSectionWrapper>
protected void onReload() throws java.lang.Exception
onReload
在类中 cc.carm.lib.configuration.core.source.ConfigurationProvider<BungeeSectionWrapper>
java.lang.Exception
@NotNull public @NotNull cc.carm.lib.configuration.core.source.ConfigurationComments getComments()
getComments
在类中 cc.carm.lib.configuration.core.source.ConfigurationProvider<BungeeSectionWrapper>
public void save() throws java.lang.Exception
save
在类中 cc.carm.lib.configuration.core.source.ConfigurationProvider<BungeeSectionWrapper>
java.lang.Exception
@NotNull public @NotNull cc.carm.lib.configuration.core.ConfigInitializer<BungeeConfigProvider> getInitializer()
getInitializer
在类中 cc.carm.lib.configuration.core.source.ConfigurationProvider<BungeeSectionWrapper>
public net.md_5.bungee.config.ConfigurationProvider getLoader()
public java.lang.String serializeValue(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.Object value)
serializeValue
在接口中 cc.carm.lib.yamlcommentupdater.CommentedYAML
public java.util.Set<java.lang.String> getKeys(@Nullable @Nullable java.lang.String sectionKey, boolean deep)
getKeys
在接口中 cc.carm.lib.yamlcommentupdater.CommentedYAML
@Nullable public @Nullable java.lang.Object getValue(@NotNull @NotNull java.lang.String key)
getValue
在接口中 cc.carm.lib.yamlcommentupdater.CommentedYAML
@Nullable public @Nullable java.util.List<java.lang.String> getHeaderComments(@Nullable @Nullable java.lang.String key)
getHeaderComments
在接口中 cc.carm.lib.yamlcommentupdater.CommentedYAML
Copyright © 2024. All rights reserved.