Class PropertiesLoader

java.lang.Object
io.github.astrapi69.random.util.PropertiesLoader

public final class PropertiesLoader extends Object
The class PropertiesLoader provide a method for load a Properties object from a given path
  • Method Details

    • loadProperties

      public static Properties loadProperties(String packagePath) throws IOException
      Gives a Properties-object from the given packagepath.
      Parameters:
      packagePath - The package-path and the name from the resource as a String.
      Returns:
      The Properties-object from the given packagepath.
      Throws:
      IOException - Signals that an I/O exception has occurred.