Class PropertiesFileParserImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.messages.PropertiesFileParserImpl
-
- All Implemented Interfaces:
PropertiesFileParser
public class PropertiesFileParserImpl extends Object implements PropertiesFileParser
-
-
Constructor Summary
Constructors Constructor Description PropertiesFileParserImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 (asCaseInsensitiveMap
should be used.
-
-
-
Constructor Detail
-
PropertiesFileParserImpl
public PropertiesFileParserImpl()
-
-
Method Detail
-
parsePropertiesFile
public Map<String,String> parsePropertiesFile(Resource resource) throws IOException
Description copied from interface:PropertiesFileParser
Read the contents of the file (which is expected to exist) and return it as a Map of string keys and values (asCaseInsensitiveMap
should be used. The implementation should not attempt to cache any values (caching occurs at a higher level, as does reload logic).- Specified by:
parsePropertiesFile
in interfacePropertiesFileParser
- Throws:
IOException
-
-