I have a Java Property file and there is a KEY as ORDER. So I retrieve the VALUE of that KEY using the getProperty(
KEY
ORDER
VALUE
getProperty(
You can do that with Guava's Splitter.MapSplitter:
Map properties = Splitter.on(",").withKeyValueSeparator(":").split(inputString);