public class BukkitConfigProvider extends CraftConfigProvider implements cc.carm.lib.yamlcommentupdater.CommentedYAML
限定符和类型 | 字段和说明 |
---|---|
protected @NotNull cc.carm.lib.configuration.core.source.ConfigurationComments |
comments |
protected static char |
SEPARATOR |
configuration, initializer
构造器和说明 |
---|
BukkitConfigProvider(@NotNull java.io.File file) |
限定符和类型 | 方法和说明 |
---|---|
@NotNull cc.carm.lib.configuration.core.source.ConfigurationComments |
getComments() |
@NotNull CraftSectionWrapper |
getConfiguration() |
@Nullable java.util.List<java.lang.String> |
getHeaderComments(@Nullable java.lang.String key) |
java.util.Set<java.lang.String> |
getKeys(@Nullable java.lang.String sectionKey,
boolean deep) |
@Nullable java.lang.Object |
getValue(@NotNull java.lang.String key) |
void |
initializeConfig() |
void |
save() |
java.lang.String |
serializeValue(@NotNull java.lang.String key,
@NotNull java.lang.Object value) |
getInitializer, onReload
getFile, getResource, initializeFile, saveResource
getHeaderComment, getInlineComment, getUpdateTime, initialize, initialize, initialize, initialize, initialize, isExpired, reload, setHeaderComment, setInlineComment
protected static final char SEPARATOR
@NotNull protected @NotNull cc.carm.lib.configuration.core.source.ConfigurationComments comments
public void initializeConfig()
initializeConfig
在类中 CraftConfigProvider
@NotNull public @NotNull CraftSectionWrapper getConfiguration()
getConfiguration
在类中 CraftConfigProvider
public void save() throws java.lang.Exception
save
在类中 CraftConfigProvider
java.lang.Exception
@NotNull public @NotNull cc.carm.lib.configuration.core.source.ConfigurationComments getComments()
getComments
在类中 cc.carm.lib.configuration.core.source.ConfigurationProvider<CraftSectionWrapper>
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.