Package io.github.astrapi69.random.util
Class PropertiesLoader
- java.lang.Object
-
- io.github.astrapi69.random.util.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.
-
-
-
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.
-
-