Class ConfigUtil
java.lang.Object
net.vitacraft.serverlibraries.api.config.ConfigUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
File types supported by the ConfigUtilstatic enum
Path types supported by the ConfigUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfig
(String path, ConfigUtil.Filetype filetype, ConfigUtil.PathType pathType) Get a config file of any type using the path and file type
-
Constructor Details
-
ConfigUtil
-
-
Method Details
-
getConfig
Get a config file of any type using the path and file type- Parameters:
path
- a file pathfiletype
- a file type- Returns:
- Configuration
-