Interface ResourceManager
- All Known Implementing Classes:
YamlLanguageResourceManager,YamlSoundResourceManager
public interface ResourceManager
An interface that describes a resource manager that is responsible for installing resources
from the plugin jar file to the plugin data directory, as well as loading and reloading
the installed files at startup or issuance of the
reload command.-
Method Summary
Modifier and TypeMethodDescriptiongetSectionProvider(String sectionName) voidInstalls any language resource files listed in auto-install.txt if they are not already installed.booleanreload()Reload resource into a bukkit Configuration object
-
Method Details
-
reload
boolean reload()Reload resource into a bukkit Configuration object- Returns:
- true if successful, false if not
-
getConfigurationProvider
ConfigurationProvider getConfigurationProvider() -
getSectionProvider
-
installResources
void installResources()Installs any language resource files listed in auto-install.txt if they are not already installed.
-