public class PropertiesFileParserImpl extends Object implements PropertiesFileParser
Constructor and Description |
---|
PropertiesFileParserImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
parsePropertiesFile(Resource resource)
Read the contents of the file (which is expected to exist) and return it as
a Map of string keys and values (as
CaseInsensitiveMap should be used. |
public PropertiesFileParserImpl()
public Map<String,String> parsePropertiesFile(Resource resource) throws IOException
PropertiesFileParser
CaseInsensitiveMap
should be used. The implementation should not
attempt to cache any values (caching occurs at a higher level, as does reload logic).parsePropertiesFile
in interface PropertiesFileParser
IOException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.