Package io.github.toolfactory.jvm.util
Class Properties
java.lang.Object
io.github.toolfactory.jvm.util.Properties
public class Properties extends Object
-
Constructor Summary
Constructors Constructor Description Properties() -
Method Summary
Modifier and Type Method Description static Map<Long,Properties>loadFromResources(String resRelPath, String propertyName, ClassLoader... classLoaders)static PropertiesloadFromResourcesAndMerge(String resRelPath, String propertyName, ClassLoader... classLoaders)static PropertiesloadFromResourceWithHigherPropertyValue(ClassLoader resourceClassLoader, String resRelPath, String propertyName, ClassLoader... classLoaders)
-
Constructor Details
-
Properties
public Properties()
-
-
Method Details
-
loadFromResources
public static Map<Long,Properties> loadFromResources(String resRelPath, String propertyName, ClassLoader... classLoaders) throws IOException- Throws:
IOException
-
loadFromResourceWithHigherPropertyValue
public static Properties loadFromResourceWithHigherPropertyValue(ClassLoader resourceClassLoader, String resRelPath, String propertyName, ClassLoader... classLoaders) throws IOException- Throws:
IOException
-
loadFromResourcesAndMerge
public static Properties loadFromResourcesAndMerge(String resRelPath, String propertyName, ClassLoader... classLoaders) throws IOException- Throws:
IOException
-