Class PropertyConfig
java.lang.Object
com.mrivanplays.annotationconfig.core.PropertyConfig
Represents configuration, utilising .conf/.properties configuration type.
- Since:
- 1.0
- Author:
- MrIvanPlays
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigResolver
Returns theConfigResolver
instance of PropertyConfigstatic void
Deprecated.
-
Constructor Details
-
PropertyConfig
public PropertyConfig()
-
-
Method Details
-
getConfigResolver
Returns theConfigResolver
instance of PropertyConfig- 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()
.