public class PropertiesFileReader extends Object
Constructor and Description |
---|
PropertiesFileReader() |
Modifier and Type | Method and Description |
---|---|
List<Map<String,String>> |
loadPropertiesFilesInDirectory(String directoryPath)
Deserializes all on-disk properties files in the given directory into a list of maps.
|
Map<String,String> |
loadSinglePropertiesFile(String filePath)
Deserializes an on-disk properties file into a map.
|
public List<Map<String,String>> loadPropertiesFilesInDirectory(String directoryPath)
directoryPath
- the path to the directory of properties filespublic Map<String,String> loadSinglePropertiesFile(String filePath)
filePath
- the path to the file of propertiesThis work is licensed under a Creative Commons Attribution 4.0 International License.