It seems that java.util.Properties assumes one value per propery key. That is,
foo=1 foo=2
is not expected,
Is there a class for this kind of multi-value property sheet, which also provides the load method?
Try:
foo=1,2 String[] foos = properties.getProperty("foo").split(",");
2.1m questions
2.1m answers
60 comments
57.0k users