Class ProgramResourceManager

java.lang.Object
com.jackmeng.halcyoninae.halcyon.utils.ProgramResourceManager

public class ProgramResourceManager extends Object
A constant defined class that holds values for any external resources, such as the properties file for the program config.
Since:
3.0
Author:
Jack Meng
See Also:
  • Field Details

  • Constructor Details

    • ProgramResourceManager

      private ProgramResourceManager()
  • Method Details

    • getProgramDefaultProperties

      public static Map<String,String> getProgramDefaultProperties()
      Returns:
      The Map of default properties
    • getAllowedProperties

      public static Map<String,PropertyValidator> getAllowedProperties()
      Returns:
      The map of the allowed properties
    • writeBufferedImageToBin

      public static String writeBufferedImageToBin(BufferedImage img)
      Writes a bufferedimage to the resource folder.
      Parameters:
      img - An image to write; a BufferedImage instance
      Returns:
      The string representing the location of the image (ABSOLUTE PATH)