I have a HashTable in which I have key value pairs like below :
The values are separated by tab
<key, value>
Director, Chantal Akerman Aleksandr Sokurov Alexandra McGuinness
Country, Belgium-France Russia UK-Ireland UK-Ireland
I need to write the values in following structure in a tsv file:
Director Country
Chantal Akerman Belgium-France
Aleksandr Sokurov Russia
UK-Ireland
Carol Morley UK-Ireland
Is there any API available for the same in java. Or is there any other way around?
The problem easily solved by the standard tools.
Output keys:
Output values: