Article View: borland.public.jbuilder.java.language
Article #15064Re: PrintWriter.println(Object) - any equivalent read(Object)?
From: Hugo Ferreira
Date: Thu, 15 Jul 1999 00:00
Date: Thu, 15 Jul 1999 00:00
25 lines
1194 bytes
1194 bytes
Hi, If you have no need to read and understand the text representation, forget the text format and use: DataOutputStream and DataInputStream Hugo. Lois Neo wrote in message <7meq5t$sqd10@forums.borland.com>... >Hi, > >I have a problem with reading an object from a text file, previously written >using the PrintWriter.println(MyObject) method. I'm not sure how I can read >it back from the file. ObjectInputStream seems to work only for >ObjectOutputStream written objects. I tried reading the object as String, >but then dunno if there's any way I can convert it back to MyObject? > >-- >Thanks for any help given > >Lois > >
Technical Details
Message-ID:
<7mk5io$4se4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7meq5t$sqd10@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,1470b9b9a4394f04 X-Google-Attributes: gidf74b3,public From: "Hugo Ferreira" <HugoF@cocaina.inescn.pt> Subject: Re: PrintWriter.println(Object) - any equivalent read(Object)? Date: 1999/07/15 Message-ID: <7mk5io$4se4@forums.borland.com> X-Deja-AN: 501255455 References: <7meq5t$sqd10@forums.borland.com> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Newsgroups: borland.public.jbuilder.java.language