public interface PropertiesFileParser
Messages
object. Responsible for reading the
contents of an individual Resource
.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. |
java.util.Map<java.lang.String,java.lang.String> parsePropertiesFile(Resource resource) throws java.io.IOException
CaseInsensitiveMap
should be used. The implementation should not
attempt to cache any values (caching occurs at a higher level, as does reload logic).java.io.IOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.