Interface YAMLFolder


public interface YAMLFolder
  • Method Details

    • loadData

      void loadData()
      Load all data in this folder.
    • getName

      String getName()
      Get the name of this folder.
      Returns:
      Name of this folder.
    • getParent

      File getParent()
      Get the parent file.
      Returns:
      Parent file.
    • getLocation

      File getLocation()
      Get the folder location.
      Returns:
      Location of the folder.
    • getYAMLFiles

      List<YAMLConfig> getYAMLFiles()
      Get a List of all YAML files in this folder.
      Returns:
      List of YAMLConfig in this folder.
    • getAllFiles

      List<File> getAllFiles()
      Get a List of File that are in this folder.
      Returns:
      List of File in this folder.
    • exists

      boolean exists()
      Check if the folder exists.
      Returns:
      True if exists, false otherwise.