Package dev.crafty.core.config
Class SectionWrapper
java.lang.Object
dev.crafty.core.config.SectionWrapper
- Direct Known Subclasses:
YamlConfigurationWrapper
Wrapper for a
ConfigurationSection
that provides a more convenient interface for accessing configuration- Since:
- 1.0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
createSection
(String path) getBoolean
(String path) getBooleanList
(String path) getDoubleList
(String path) getFloatList
(String path) getIntegerList
(String path) getKeys
(boolean deep) Optional
<org.bukkit.Location> getLocation
(String path) getLongList
(String path) getOrCreateSection
(String path) getSection
(String path) getStringList
(String path) void
-
Constructor Details
-
SectionWrapper
public SectionWrapper(org.bukkit.configuration.ConfigurationSection delegate)
-
-
Method Details
-
getString
-
getBoolean
-
getInt
-
getDouble
-
getFloat
-
getLong
-
getStringList
-
getSection
-
set
-
contains
-
getKeys
-
createSection
-
getOrCreateSection
-
get
-
getList
-
getIntegerList
-
getBooleanList
-
getDoubleList
-
getFloatList
-
getLongList
-
getLocation
-