Class ConfigManager
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.config.ConfigManager
Represents a manager for all possible configs that application might use.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets applicationCommandConfig
.static ConfigManager
Gets configs manager.Gets applicationNetConfig
.GetsRequestConfig
config.
-
Constructor Details
-
ConfigManager
public ConfigManager()
-
-
Method Details
-
getManager
Gets configs manager.- Returns:
- configs manager
-
getNetConfig
Gets applicationNetConfig
.- Returns:
- application
NetConfig
- Throws:
IOException
-
getCommandConfig
Gets applicationCommandConfig
.- Returns:
- application
CommandConfig
- Throws:
IOException
-
getRequestConfig
GetsRequestConfig
config.- Returns:
RequestConfig
config- Throws:
IOException
- if any exception happens
-