Best way to create a file and then use the data later
<p>Java: Best way to store data in a file.
I am doing a comparison between 2 versions of a file and then record the differences between the file as Insert, Deleted or Changed. The data needs to be logged in a similiar format >> </p>

<pre><code>Version_old=1.28 Version_new=1.29
Operation=Changed,SourceLineFrom=55,SourceLineTo=55 TargetFileFrom=55 TargetFileTo= 55
Operation=Delete, SourceLineFrom=57,SourceLineTo=59 TargetFilefrom=57 TargetFileTo= -
</code></pre>

<p>The data is needed later on. Can anyone suggest me which is the best and easiest format to save this data? the data have to retrieved later on for processing. </p>
