Package org.kingdoms.config.accessor
Interface ConfigAccessor
- All Superinterfaces:
DefaultableConfigAccessor
- All Known Implementing Classes:
YamlConfigAccessor
A configuration section that can retrieve values based on a given path.
For more options you should first navigate to your desired path using
get(String...) first.- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull KeyedConfigAccessorbooleangetBoolean(String... option) doubleintgetIntegerList(String... option) getKeys()long@NotNull ConfigSection@Nullable StringgetStringList(String... option) @Nullable ConfigAccessorgotoSection(String... option) booleandefault org.kingdoms.config.implementation.ConfigAccessorConfigurationSection
-
Method Details
-
noDefault
ConfigAccessor noDefault()- Specified by:
noDefaultin interfaceDefaultableConfigAccessor
-
isSet
-
getString
-
getStringList
-
getKeys
-
gotoSection
-
getCurrentPath
String getCurrentPath() -
getBoolean
-
getInt
-
get
-
getDouble
-
getLong
-
getSection
-
getIntegerList
-
getEntries
-
toBukkitConfigurationSection
@Internal default org.kingdoms.config.implementation.ConfigAccessorConfigurationSection toBukkitConfigurationSection()
-