I've coded a simple function that prints it for me but I was wondering if there was an easier way.
I'm basically looking for something that will print the keys (String
s) and the values (String
arrays), as if I invoked Arrays.toString()
on the values.
this site have two interesting methods: http://www.vineetmanohar.com/2010/05/2-ways-to-convert-java-map-to-string/
The first one (some code) will give you an answer in the format key=value @ key2 = value2 & ...
The second one will give you a XML with the information
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With