Package pro.gravit.launcher.managers
Class SimpleModulesConfigManager
- java.lang.Object
-
- pro.gravit.launcher.managers.SimpleModulesConfigManager
-
- All Implemented Interfaces:
ModulesConfigManager
public class SimpleModulesConfigManager extends java.lang.Object implements ModulesConfigManager
-
-
Field Summary
Fields Modifier and Type Field Description java.nio.file.PathconfigDir
-
Constructor Summary
Constructors Constructor Description SimpleModulesConfigManager(java.nio.file.Path configDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> SimpleConfigurable<T>getConfigurable(java.lang.Class<T> tClass, java.nio.file.Path configPath)java.nio.file.PathgetModuleConfig(java.lang.String moduleName)java.nio.file.PathgetModuleConfig(java.lang.String moduleName, java.lang.String configName)java.nio.file.PathgetModuleConfigDir(java.lang.String moduleName)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pro.gravit.launcher.modules.ModulesConfigManager
getConfigurable, getConfigurable
-
-
-
-
Method Detail
-
getModuleConfig
public java.nio.file.Path getModuleConfig(java.lang.String moduleName)
- Specified by:
getModuleConfigin interfaceModulesConfigManager
-
getModuleConfig
public java.nio.file.Path getModuleConfig(java.lang.String moduleName, java.lang.String configName)- Specified by:
getModuleConfigin interfaceModulesConfigManager
-
getModuleConfigDir
public java.nio.file.Path getModuleConfigDir(java.lang.String moduleName)
- Specified by:
getModuleConfigDirin interfaceModulesConfigManager
-
getConfigurable
public <T> SimpleConfigurable<T> getConfigurable(java.lang.Class<T> tClass, java.nio.file.Path configPath)
- Specified by:
getConfigurablein interfaceModulesConfigManager
-
-