Class YamlSoundResourceManager
java.lang.Object
com.winterhavenmc.library.messagebuilder.adapters.resources.sound.YamlSoundResourceManager
- All Implemented Interfaces:
ResourceManager
-
Constructor Summary
ConstructorsConstructorDescriptionYamlSoundResourceManager(ResourceInstaller resourceInstaller, ResourceLoader resourceLoader) -
Method Summary
Modifier and TypeMethodDescriptiongetSectionProvider(String sectionName) voidInstalls sound resource files if not already present in the plugin data folderbooleanreload()reload sound configuration from yaml file in plugin data folder
-
Constructor Details
-
YamlSoundResourceManager
-
-
Method Details
-
reload
public boolean reload()reload sound configuration from yaml file in plugin data folder- Specified by:
reloadin interfaceResourceManager- Returns:
- true if successful, false if not
-
getConfigurationProvider
- Specified by:
getConfigurationProviderin interfaceResourceManager
-
getSectionProvider
- Specified by:
getSectionProviderin interfaceResourceManager
-
installResources
public void installResources()Installs sound resource files if not already present in the plugin data folder- Specified by:
installResourcesin interfaceResourceManager
-