Class MultiKeyProperties


  • public class MultiKeyProperties
    extends Object
    A very simple property-style configuration. If a key occurs more than once, the values will be merged to a list with the other properties of that key. This is useful if property files get merged by Maven. Note: this is not a full replacement for Properties, e.g. it does not support values that span multiple lines
    • Constructor Detail

      • MultiKeyProperties

        public MultiKeyProperties​(InputStream inStream)
    • Method Detail

      • getProperty

        @Nullable
        public @Nullable List<String> getProperty​(String key)
        Returns:
        a list of values or null if there's no such key