public abstract class HotConfigFactory extends AbstractConfigFactory
AbstractConfigFactory.createConfig(Class)
Config file located in folder returing with method getBaseDir().
Config file name is config interface name
Config file extension defined with method getConfigFileExt()
| Constructor and Description |
|---|
HotConfigFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> java.lang.String |
configLocationFor(java.lang.Class<T> configInterface)
Calculates config location for config interface
|
protected abstract java.lang.String |
getBaseDir()
Returns folder path where config files will be created
|
protected java.lang.String |
getConfigFileExt() |
protected ConfigStorage |
getConfigStorage()
Gets config storage
|
java.io.File |
storageFileFor(java.lang.Class<?> configInterface) |
createConfig, getOrCreateConfig, replaceParametersInDefaultStrValue, resetprotected abstract java.lang.String getBaseDir()
protected <T> java.lang.String configLocationFor(java.lang.Class<T> configInterface)
AbstractConfigFactoryconfigLocationFor in class AbstractConfigFactoryconfigInterface - config interfacepublic java.io.File storageFileFor(java.lang.Class<?> configInterface)
protected java.lang.String getConfigFileExt()
protected ConfigStorage getConfigStorage()
AbstractConfigFactorygetConfigStorage in class AbstractConfigFactory