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
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.