public final class PropertiesLoader extends Object
Modifier and Type | Method and Description |
---|---|
static Properties |
loadPropertiesXMLFile(String xmlFilePath)
Loads the properties defined in an xml file with the format <//?xml version="1.0" encoding="UTF-8"
standalone="no"?> <//!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties>
<comment>Comment</comment> <entry key="keyName">Some Value</entry> </properties>
|
@Nonnull public static Properties loadPropertiesXMLFile(@Nonnull String xmlFilePath)
xmlFilePath
- the file pathCopyright © 2020. All Rights Reserved.