Package io.github.toolfactory.jvm.util
Class Properties
java.lang.Object
io.github.toolfactory.jvm.util.Properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<BigDecimal,
Properties> loadFromResources
(String resRelPath, String propertyName, ClassLoader... classLoaders) static Properties
loadFromResourcesAndMerge
(String resRelPath, String propertyName, Collection<ClassLoader> classLoaders, Map<?, ?>... otherMaps) static Properties
loadFromResourceWithHigherPropertyValue
(String resRelPath, String propertyName, Collection<ClassLoader> classLoaders, Map<?, ?>... otherMaps)
-
Constructor Details
-
Properties
public Properties()
-
-
Method Details
-
loadFromResources
public static Map<BigDecimal,Properties> loadFromResources(String resRelPath, String propertyName, ClassLoader... classLoaders) throws IOException, ParseException - Throws:
IOException
ParseException
-
loadFromResourceWithHigherPropertyValue
public static Properties loadFromResourceWithHigherPropertyValue(String resRelPath, String propertyName, Collection<ClassLoader> classLoaders, Map<?, ?>... otherMaps) throws IOException, ParseException- Throws:
IOException
ParseException
-
loadFromResourcesAndMerge
public static Properties loadFromResourcesAndMerge(String resRelPath, String propertyName, Collection<ClassLoader> classLoaders, Map<?, ?>... otherMaps) throws IOException, ParseException- Throws:
IOException
ParseException
-