The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Java I/0

Posted by Sanjay Ambardar on January 08, 2001 at 2:41 AM

Thanks kishori!! for showing me the the light of the day!!Actually I was so much engrossed by Java's recommendation of using Class ObjectOutputStream that I tend to forgot that I am doing object serialization rather than the simple text manipulation!!

Can you please as well let me know that can we use simple Output stream to create records in a text file from the object variables as I need this text file to be later imported into a database.So the records may look like this in a text file

Name ID city Country
Rakesh 001 ottawa canada
Sunil 002 Amstrdam Netherlands
Rance 003 Ottawa Canada

Is there any efficient way recommended for it!!
Thanks once again!!


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us