ObjectOutputStream human-readable

I am trying to read and write an ArrayList to a file, and currently using ObjectOutputStream to write to the file.

fout = new FileOutputStream(file);
ObjectOutputStream oos = new ObjectOutputStream(fout);

oos.writeObject(arraylist);
fout.close();

The arraylist variable is an ArrayList of ojects. This method works fine and all, but it prints to the file in a format that is not human-readable.

Is there any way to achieve the same functionality (with relative ease) so that the object is written to the file in a human-readable manner?


Download objectoutputstream.human.readable.zip
Direct Link


Download


Download objectoutputstream.human.readable.zip
Mediafire


Download


Download objectoutputstream.human.readable.zip
FileJungle


Download

Both comments and pings are currently closed.

Comments are closed.