Package org.languagetool.tools
Class MultiKeyProperties
- java.lang.Object
-
- org.languagetool.tools.MultiKeyProperties
-
public class MultiKeyProperties extends java.lang.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 forProperties
, e.g. it does not support values that span multiple lines
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.List<java.lang.String>>
properties
-
Constructor Summary
Constructors Constructor Description MultiKeyProperties(java.io.InputStream inStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.util.List<java.lang.String>
getProperty(java.lang.String key)
-