public class PropertiesFileParserImpl extends java.lang.Object implements PropertiesFileParser
Constructor and Description |
---|
PropertiesFileParserImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.String> parsePropertiesFile(Resource resource) throws java.io.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
java.io.IOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.