public class CraftSectionWrapper
extends java.lang.Object
implements cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
限定符和类型 | 字段和说明 |
---|---|
protected org.bukkit.configuration.ConfigurationSection |
configuration |
限定符 | 构造器和说明 |
---|---|
protected |
CraftSectionWrapper(org.bukkit.configuration.ConfigurationSection configuration) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
contains(@NotNull java.lang.String path) |
@Nullable java.lang.Object |
get(@NotNull java.lang.String path) |
default boolean |
getBoolean(java.lang.String arg0) |
default java.lang.Boolean |
getBoolean(java.lang.String arg0,
java.lang.Boolean arg1) |
default java.lang.Byte |
getByte(java.lang.String arg0) |
default java.lang.Byte |
getByte(java.lang.String arg0,
java.lang.Byte arg1) |
default java.util.List<java.lang.Byte> |
getByteList(java.lang.String arg0) |
default java.lang.Character |
getChar(java.lang.String arg0) |
default java.lang.Character |
getChar(java.lang.String arg0,
java.lang.Character arg1) |
default java.util.List<java.lang.Character> |
getCharList(java.lang.String arg0) |
@Nullable CraftSectionWrapper |
getConfigurationSection(@NotNull java.lang.String path) |
default java.lang.Double |
getDouble(java.lang.String arg0) |
default java.lang.Double |
getDouble(java.lang.String arg0,
java.lang.Double arg1) |
default java.util.List<java.lang.Double> |
getDoubleList(java.lang.String arg0) |
default java.lang.Float |
getFloat(java.lang.String arg0) |
default java.lang.Float |
getFloat(java.lang.String arg0,
java.lang.Float arg1) |
default java.util.List<java.lang.Float> |
getFloatList(java.lang.String arg0) |
default java.lang.Integer |
getInt(java.lang.String arg0) |
default java.lang.Integer |
getInt(java.lang.String arg0,
java.lang.Integer arg1) |
default java.util.List<java.lang.Integer> |
getIntegerList(java.lang.String arg0) |
@NotNull java.util.Set<java.lang.String> |
getKeys(boolean deep) |
@Nullable java.util.List<?> |
getList(@NotNull java.lang.String path) |
default <V> java.util.List<V> |
getList(java.lang.String arg0,
cc.carm.lib.configuration.core.function.ConfigValueParser<java.lang.Object,V> arg1) |
default java.lang.Long |
getLong(java.lang.String arg0) |
default java.lang.Long |
getLong(java.lang.String arg0,
java.lang.Long arg1) |
default java.util.List<java.lang.Long> |
getLongList(java.lang.String arg0) |
default java.lang.Short |
getShort(java.lang.String arg0) |
default java.lang.Short |
getShort(java.lang.String arg0,
java.lang.Short arg1) |
@NotNull org.bukkit.configuration.ConfigurationSection |
getSource() |
default java.lang.String |
getString(java.lang.String arg0) |
default java.lang.String |
getString(java.lang.String arg0,
java.lang.String arg1) |
default java.util.List<java.lang.String> |
getStringList(java.lang.String arg0) |
@NotNull java.util.Map<java.lang.String,java.lang.Object> |
getValues(boolean deep) |
default boolean |
isBoolean(java.lang.String arg0) |
default java.lang.Boolean |
isByte(java.lang.String arg0) |
default boolean |
isChar(java.lang.String arg0) |
boolean |
isConfigurationSection(@NotNull java.lang.String path) |
default boolean |
isDouble(java.lang.String arg0) |
default boolean |
isFloat(java.lang.String arg0) |
default boolean |
isInt(java.lang.String arg0) |
boolean |
isList(@NotNull java.lang.String path) |
default boolean |
isLong(java.lang.String arg0) |
default boolean |
isShort(java.lang.String arg0) |
default boolean |
isString(java.lang.String arg0) |
static CraftSectionWrapper |
of(org.bukkit.configuration.ConfigurationSection section) |
static <T> java.util.List<T> |
parseList(java.util.List<?> arg0,
cc.carm.lib.configuration.core.function.ConfigValueParser<java.lang.Object,T> arg1) |
void |
set(@NotNull java.lang.String path,
@Nullable java.lang.Object value) |
protected CraftSectionWrapper(org.bukkit.configuration.ConfigurationSection configuration)
@NotNull public @NotNull org.bukkit.configuration.ConfigurationSection getSource()
getSource
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
@NotNull public @NotNull java.util.Set<java.lang.String> getKeys(boolean deep)
getKeys
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.Object> getValues(boolean deep)
getValues
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
public void set(@NotNull @NotNull java.lang.String path, @Nullable @Nullable java.lang.Object value)
set
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
public boolean contains(@NotNull @NotNull java.lang.String path)
contains
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
@Nullable public @Nullable java.lang.Object get(@NotNull @NotNull java.lang.String path)
get
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
public boolean isList(@NotNull @NotNull java.lang.String path)
isList
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
@Nullable public @Nullable java.util.List<?> getList(@NotNull @NotNull java.lang.String path)
getList
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
public boolean isConfigurationSection(@NotNull @NotNull java.lang.String path)
isConfigurationSection
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
@Nullable public @Nullable CraftSectionWrapper getConfigurationSection(@NotNull @NotNull java.lang.String path)
getConfigurationSection
在接口中 cc.carm.lib.configuration.core.source.ConfigurationWrapper<org.bukkit.configuration.ConfigurationSection>
public static CraftSectionWrapper of(org.bukkit.configuration.ConfigurationSection section)
public boolean isBoolean(@NotNull java.lang.String arg0)
public boolean getBoolean(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Boolean getBoolean(@NotNull java.lang.String arg0, @Nullable java.lang.Boolean arg1)
@Nullable public java.lang.Boolean isByte(@NotNull java.lang.String arg0)
@Nullable public java.lang.Byte getByte(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Byte getByte(@NotNull java.lang.String arg0, @Nullable java.lang.Byte arg1)
public boolean isShort(@NotNull java.lang.String arg0)
@Nullable public java.lang.Short getShort(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Short getShort(@NotNull java.lang.String arg0, @Nullable java.lang.Short arg1)
public boolean isInt(@NotNull java.lang.String arg0)
@Nullable public java.lang.Integer getInt(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Integer getInt(@NotNull java.lang.String arg0, @Nullable java.lang.Integer arg1)
public boolean isLong(@NotNull java.lang.String arg0)
@Nullable public java.lang.Long getLong(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Long getLong(@NotNull java.lang.String arg0, @Nullable java.lang.Long arg1)
public boolean isFloat(@NotNull java.lang.String arg0)
@Nullable public java.lang.Float getFloat(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Float getFloat(@NotNull java.lang.String arg0, @Nullable java.lang.Float arg1)
public boolean isDouble(@NotNull java.lang.String arg0)
@Nullable public java.lang.Double getDouble(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Double getDouble(@NotNull java.lang.String arg0, @Nullable java.lang.Double arg1)
public boolean isChar(@NotNull java.lang.String arg0)
@Nullable public java.lang.Character getChar(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.Character getChar(@NotNull java.lang.String arg0, @Nullable java.lang.Character arg1)
public boolean isString(@NotNull java.lang.String arg0)
@Nullable public java.lang.String getString(@NotNull java.lang.String arg0)
@Contract(value="_, !null -> !null") @Nullable public java.lang.String getString(@NotNull java.lang.String arg0, @Nullable java.lang.String arg1)
@NotNull public <V> java.util.List<V> getList(@NotNull java.lang.String arg0, @NotNull cc.carm.lib.configuration.core.function.ConfigValueParser<java.lang.Object,V> arg1)
@NotNull public java.util.List<java.lang.String> getStringList(@NotNull java.lang.String arg0)
@NotNull public java.util.List<java.lang.Integer> getIntegerList(@NotNull java.lang.String arg0)
@NotNull public java.util.List<java.lang.Long> getLongList(@NotNull java.lang.String arg0)
@NotNull public java.util.List<java.lang.Double> getDoubleList(@NotNull java.lang.String arg0)
@NotNull public java.util.List<java.lang.Float> getFloatList(@NotNull java.lang.String arg0)
@NotNull public java.util.List<java.lang.Byte> getByteList(@NotNull java.lang.String arg0)
@NotNull public java.util.List<java.lang.Character> getCharList(@NotNull java.lang.String arg0)
@NotNull public static <T> java.util.List<T> parseList(@Nullable java.util.List<?> arg0, cc.carm.lib.configuration.core.function.ConfigValueParser<java.lang.Object,T> arg1)
Copyright © 2024. All rights reserved.