On 10 Jul 2005 19:49:36 -0700, "Mike"
<michael.o'> wrote or quoted :
>I have previously written something similar using Microsoft VB.NET,
>where I created an XML file with some initial data, and distributed it
>with the application. The XML file was read into a DataSet, which was
>bound to DataGrid. If the user changed any values in the grid, the
>underlying DataSet was updated, and the XML file re-written to disk. Is
>it possible to do something similar in Java? I have looked at the
>Connection and ResultSet interfaces, but it does not appear that they
>can be used to read and write XML files.
>
>Mike.
Is it just a list or a complex tree of information?
Possibilities:
properties file
http://mindprod.com/jgloss/properties.html
a csv file
http://mindprod.com/jgloss/csv.html
a serialised file:
http://mindprod.com/jgloss/serialization.html
a one item per line text file.
a DataOutputStream :
http://mindprod.com/jgloss/fileio.html
xml with custom parser :
http://mindprod.com/jgloss/xml.html
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/...s_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See
http://mindprod.com/iraq.html photos of Bush's war crimes