Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.services.messages
Class PropertiesFileParserImpl

    java.lang.Object
      org.apache.tapestry5.internal.services.messages.PropertiesFileParserImpl

All Implemented Interfaces:
  PropertiesFileParser

    public class PropertiesFileParserImpl

extends java.lang.Object
implements PropertiesFileParser

Constructor Summary
`PropertiesFileParserImpl()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PropertiesFileParserImpl

    public PropertiesFileParserImpl()

Method Detail

### parsePropertiesFile

    public java.util.Map<java.lang.String,java.lang.String> parsePropertiesFile(Resource resource)
                                                                         throws java.io.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 (as `CaseInsensitiveMap` 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 interface `PropertiesFileParser`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.