Class PathLoader

java.lang.Object
me.hsgamer.hscore.config.PathLoader

public final class PathLoader extends Object
A class that loads config paths on the config instance
  • Method Details

    • getPathFields

      public static List<Field> getPathFields(Config config)
      Get the path fields of the config instance
      Parameters:
      config - the config instance
      Returns:
      the path fields
    • loadPath

      public static void loadPath(Config config)
      Load the config paths that are in the config instance
      Parameters:
      config - config instance to load
    • reloadPath

      public static void reloadPath(Config config)
      Reload the config paths that are in the config instance
      Parameters:
      config - config instance to reload