Interface PropertiesFileParser
- 
- All Known Implementing Classes:
 PropertiesFileParserImpl
public interface PropertiesFileParser
Used when constructing a component'sMessagesobject. Responsible for reading the contents of an individualResource.- Since:
 - 5.2.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 (asCaseInsensitiveMapshould be used. 
 - 
 
- 
- 
Method Detail
- 
parsePropertiesFile
Map<String,String> parsePropertiesFile(Resource resource) throws IOException
Read the contents of the file (which is expected to exist) and return it as a Map of string keys and values (asCaseInsensitiveMapshould be used. The implementation should not attempt to cache any values (caching occurs at a higher level, as does reload logic).- Throws:
 IOException
 
 - 
 
 -