Class YamlConfig

java.lang.Object
com.mrivanplays.annotationconfig.yaml.YamlConfig

public final class YamlConfig extends Object
Represents configuration, utilising YAML
Since:
1.0
Author:
MrIvanPlays
  • Constructor Details

  • Method Details

    • getConfigResolver

      public static com.mrivanplays.annotationconfig.core.resolver.ConfigResolver getConfigResolver()
      Returns the ConfigResolver instance of YamlConfig
      Returns:
      config resolver
    • load

      @Deprecated public static void load(Object annotatedConfig, File file)
      Deprecated.
      use getConfigResolver(). it has a much better description of methods. the equivalent of this method there is ConfigResolver.loadOrDump(Object, File, LoadSettings)
      Loads the config object from the file. If the file does not exist, it creates one.
      Parameters:
      annotatedConfig - annotated config
      file - file