Class PropertiesLoader


  • public final class PropertiesLoader
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Properties loadProperties​(java.lang.String packagePath)
      Gives a Properties-object from the given packagepath.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadProperties

        public static java.util.Properties loadProperties​(java.lang.String packagePath)
                                                   throws java.io.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:
        java.io.IOException - Signals that an I/O exception has occurred.