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, onReloadgetFile, getResource, initializeFile, saveResourcegetHeaderComment, getInlineComment, getUpdateTime, initialize, initialize, initialize, initialize, initialize, isExpired, reload, setHeaderComment, setInlineCommentprotected 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 在类中 CraftConfigProviderpublic void save()
throws java.lang.Exception
save 在类中 CraftConfigProviderjava.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.CommentedYAMLpublic 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.CommentedYAMLCopyright © 2024. All rights reserved.