Class YamlConfig
java.lang.Object
com.mrivanplays.annotationconfig.yaml.YamlConfig
Represents configuration, utilising YAML
- Since:
- 1.0
- Author:
- MrIvanPlays
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mrivanplays.annotationconfig.core.resolver.ConfigResolver
Returns theConfigResolver
instance of YamlConfigstatic void
Deprecated.
-
Constructor Details
-
YamlConfig
public YamlConfig()
-
-
Method Details
-
getConfigResolver
Returns theConfigResolver
instance of YamlConfig- Returns:
- config resolver
-
load
Deprecated.usegetConfigResolver()
. it has a much better description of methods. the equivalent of this method there isConfigResolver.loadOrDump(Object, File, LoadSettings)
Loads the config object from the file. If the file does not exist, it creates one.- Parameters:
annotatedConfig
- annotated configfile
- file
-
getConfigResolver()
.